PageSourceSearch

http://www.southwest-ga.com/push.js

js southwest-ga.com collected 2026-10-02 23:28:25 UTC 1,418 bytes, 38 lines download raw bytes

1(function(){
2    var bp = document.createElement('script');
3    var curProtocol = window.location.protocol.split(':')[0];
4    if (curProtocol === 'https') {
5        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
6    }
7    else {
8        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
9    }
10    var s = document.getElementsByTagName("script")[1];
11    s.parentNode.insertBefore(bp, s);
12})();
13
14(function(){
15	var canonicalURL, curProtocol;
16	var x=document.getElementsByTagName("link");
17	//Find the last canonical URL
18	if(x.length > 0){
19		for (i=0;i<x.length;i++){
20			if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){
21				canonicalURL=x[i].href;
22			}
23		}
24	}
25
26	//Get protocol
27    if (!canonicalURL){
28    	curProtocol = window.location.protocol.split(':')[0];
29    } else{
30    	curProtocol = canonicalURL.split(':')[0];
31    }
32
33    //Get current URL if the canonical URL does not exist
34    if (!canonicalURL) canonicalURL = window.location.href;
35    
36    //Assign script content. Replace current URL with the canonical URL
37	!function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);}
38)();

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.