PageSourceSearch

https://www.workercn.cn/js/stat.js

js workercn.cn collected 2026-10-02 04:40:37 UTC 1,001 bytes, 41 lines download raw bytes

1(function () {
2    _maq = {}
3    var site = getMeta('site')
4    if(!site) {
5        site = 122
6    }
7    _maq['site'] = site
8
9    var ma = document.createElement('script')
10    ma.type = 'text/javascript'
11    ma.async = true
12    ma.src = '//www.workercn.cn/js/s.js?ac=152'
13    var s = document.getElementsByTagName('script')[0]
14    s.parentNode.insertBefore(ma, s)
15  
16    function getMeta(name) {
17        try {
18            var val = document.querySelector(`meta[name='${name}']`).getAttribute('content')
19            return val
20        } catch (e) {
21            return null
22        }
23    }
24  //专题
25  
26  let subjects = ['68279','68542','68583']
27  var cat = getMeta('catalogs')
28  var type = getMeta('pagetype')
29  let result = subjects.find(ele => ele===cat)
30  if(result) {
31    if(type=='2') {
32      type = '1'
33    }
34    _maq['subject'] = cat+"#1#"+type
35  }
36  var reg1 = /c/
37  var reg2 = /shtml/
38  if (reg1.test(window.location.href) && reg2.test(window.location.href)){
39	_maq['pagetype'] = 3
40  }
41})();

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.