PageSourceSearch

https://static.jstv.com/ui/common/file/lz/analytics.min.js

js jstv.com collected 2026-10-02 04:03:28 UTC 2,698 bytes, 73 lines download raw bytes

1/* 
2统计和百度推送
3统计代码会针对不同站点变化,建议使用 <body data-analytics="h5"> 来区分,无代表荔枝网和荔枝新闻,h5代表活动h5,其他按二级域名来区分
4*/
5
6//百度统计代码
7var _hmt = _hmt || [];
8(function() {
9  var id = '0887eca0f2b20577c39d04671f83ed53'; // jstv
10  if(location.host.includes('ourjiangsu.com')) id = 'baf422c07e2fceaf0247f75da34715da';
11	var hm = document.createElement("script");
12	hm.src = "https://hm.baidu.com/hm.js?"+id;
13	var s = document.getElementsByTagName("script")[0];
14	s.parentNode.insertBefore(hm, s);
15})();
16
17//百度站长自动推送代码
18(function(){
19	var bp = document.createElement('script');
20	var curProtocol = window.location.protocol.split(':')[0];
21	if (curProtocol === 'https') {
22		bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
23	}
24	else {
25		bp.src = 'http://push.zhanzhang.baidu.com/push.js';
26	}
27	var s = document.getElementsByTagName("script")[0];
28	s.parentNode.insertBefore(bp, s);
29})();
30
31//神策
32(function(para) {
33    var p = para.sdk_url, n = para.name, w = window, d = document, s = 'script',x = null,y = null;
34    if(typeof(w['sensorsDataAnalytic201505']) !== 'undefined') {
35        return false;
36    }
37    w['sensorsDataAnalytic201505'] = n;
38    w[n] = w[n] || function(a) {return function() {(w[n]._q = w[n]._q || []).push([a, arguments]);}};
39    var ifs = ['track','quick','register','registerPage','registerOnce','trackSignup', 'trackAbtest', 'setProfile','setOnceProfile','appendProfile', 'incrementProfile', 'deleteProfile', 'unsetProfile', 'identify','login','logout','trackLink','clearAllRegister','getAppStatus'];
40    for (var i = 0; i < ifs.length; i++) {
41      w[n][ifs[i]] = w[n].call(null, ifs[i]);
42    }
43    if (!w[n]._t) {
44      x = d.createElement(s), y = d.getElementsByTagName(s)[0];
45      x.async = 1;
46      x.src = p;
47      x.setAttribute('charset','UTF-8');
48      w[n].para = para;
49      y.parentNode.insertBefore(x, y);
50    }
51  })({
52    sdk_url: 'https://static.jstv.com/ui/common/file/sensorsdata.min.js',
53    heatmap_url: 'https://static.jstv.com/ui/common/file/heatmap.min.js',
54    name: 'sensors',
55    server_url: 'https://importdata.jstv.com/sa?project=production',
56    heatmap:{}
57  });
58  
59  var metaKeyWords =document.getElementsByTagName('meta'), metaKeyWordsContent='';
60  for (var i = 0; i < metaKeyWords.length; i++){
61      if (metaKeyWords[i].name == 'keywords') {
62          metaKeyWordsContent = metaKeyWords[i].content;
63      }
64  }
65  
66  window.onload = function () {
67    var _menu = '';
68    if(typeof(_gsChannel)!='undefined'){_menu=_gsChannel}
69    sensors.quick('autoTrack', {
70      key_words: metaKeyWordsContent,
71      menu: _menu
72    });
73  }

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.