PageSourceSearch

http://www.ok126.net/SkinNew/js/global.js

js ok126.net collected 2026-10-09 04:18:39 UTC 1,093 bytes, 30 lines download raw bytes

1 var uaTest = /Android|webOS|iPhone|Windows Phone|ucweb|iPod|BlackBerry|ucbrowser|SymbianOS/i.test(navigator.userAgent.toLowerCase());
2        var touchTest = 'ontouchend' in document;
3        if (uaTest && touchTest) {
4            window.location.href = window.location.href.replace("://www.", "://m.");
5        }
6
7(function () {
8	if(!(/\?[0-9a-zA-Z]/g).test(location.href)) {
9	    var bp = document.createElement('script');
10	    var curProtocol = window.location.protocol.split(':')[0];
11	    if (curProtocol === 'https') {
12	        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
13	    }
14	    else {
15	        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
16	    }
17	    var s = document.getElementsByTagName("script")[0];
18	    s.parentNode.insertBefore(bp, s);
19   }
20})();
21
22 if (self.frameElement && self.frameElement.tagName == "IFRAME") {
23     top.location.href=self.location.href;
24 }
25 if (window.frames.length != parent.frames.length) {
26    top.location.href=self.location.href;
27 }
28 if (self != top) {  
29     top.location.href=self.location.href;
30 }

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.