weikeweixin/web/pcweb/style/images_files/h.js

(完整代码) 12KB

(function(){var c={id:"a4a317dcc198ab4549ccfe243f6cf129",dm:["weiba66.com"],etrk:[],js:"tongji.baidu.com/hm-web/js/",icon:'/hmt/icon/21|gif|20|20',br:false,ctrk:false,align:-1,nv:-1,vdur:1800000,age:31536000000,rec:0,rp:0,rs:0,se:[[1,'baidu.com','word|wd|w',1,'news,tieba,zhidao,,image,video,hi,baike,wenku,opendata,jingyan'],[2,'google.com','q',0,'tbm=isch,tbm=vid,tbm=nws|source=newssearch,tbm=blg,tbm=frm'],[4,'sogou.com','query|keyword',1,'news,mp3,pic,v,gouwu,zhishi,blogsearch'],[6,'search.yahoo.com','p',1,'news,images,video'],[7,'yahoo.cn','q',1,'news,image,music'],[8,'soso.com','w|key',1,'image,video,music,sobar,wenwen,news,baike'],[11,'youdao.com','q',1,'image,news,,mp3,video'],[12,'gougou.com','search',1,',movie,,,,,video'],[13,'bing.com','q',2,'images,videos,news'],[14,'so.com','q',1,'video,news'],[15,'jike.com','q',1,'news,image,video'],[16,'qihoo.com','kw',0,''],[17,'etao.com','q',1,'s,8'],[18,'soku.com','keyword',2,'a'],[19,'easou.com','q',0,''],[20,'glb.uc.cn','keyword|word|q',0,'']]};var g=!0,h=null,k=!1;function r(a,b){var d=a.match(RegExp("(^|&|\\?|#)("+b+")=([^&#]*)(&|$|#)",""));return d?d[3]:h}function s(a){return(a=(a=a.match(/^(https?:\/\/)?([^\/\?#]*)/))?a[2].replace(/.*@/,""):h)?a.replace(/:\d+$/,""):a};function t(a,b){if(window.sessionStorage)try{window.sessionStorage.setItem(a,b)}catch(d){}}function z(a){return window.sessionStorage?window.sessionStorage.getItem(a):h};function A(a,b,d){var e;d.f&&(e=new Date,e.setTime(e.getTime()+d.f));document.cookie=a+"="+b+(d.domain?"; domain="+d.domain:"")+(d.path?"; path="+d.path:"")+(e?"; expires="+e.toGMTString():"")+(d.p?"; secure":"")};function C(a,b){var d=new Image,e="mini_tangram_log_"+Math.floor(2147483648*Math.random()).toString(36);window[e]=d;d.onload=d.onerror=d.onabort=function(){d.onload=d.onerror=d.onabort=h;d=window[e]=h;b&&b(a)};d.src=a};var E;function F(){if(!E)try{E=document.createElement("input"),E.type="hidden",E.style.display="none",E.addBehavior("#default#userData"),document.getElementsByTagName("head")[0].appendChild(E)}catch(a){return k}return g};function H(a,b,d){a.attachEvent?a.attachEvent("on"+b,function(b){d.call(a,b)}):a.addEventListener&&a.addEventListener(b,d,k)};(function(){function a(){if(!a.b){a.b=g;for(var b=0,d=e.length;b<d;b++)e[b]()}}function b(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(b,1);return}a()}var d=k,e=[],f;document.addEventListener?f=function(){document.removeEventListener("DOMContentLoaded",f,k);a()}:document.attachEvent&&(f=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",f),a())});(function(){if(!d)if(d=g,"complete"===document.readyState)a.b=g;else if(document.addEventListener)document.addEventListener("DOMContentLoaded",
f,k),window.addEventListener("load",a,k);else if(document.attachEvent){document.attachEvent("onreadystatechange",f);window.attachEvent("onload",a);var e=k;try{e=window.frameElement==h}catch(q){}document.documentElement.doScroll&&e&&b()}})();return function(b){a.b?b():e.push(b)}})().b=k;var aa=navigator.cookieEnabled,ba=navigator.javaEnabled(),ca=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage||"",ia=window.screen.width+"x"+window.screen.height,ja=window.screen.colorDepth;c.se.push([14,"so.360.cn","q",1,",news"]);c.se.push([14,"v.360.cn","q",1,"so"]);var N=0,O=Math.round(+new Date/1E3),P="https:"==document.location.protocol?"https:":"http:",Q="cc cf ci ck cl cm cp cw ds ep et fl ja ln lo lt nv rnd sb se si st su sw sse v cv lv u api tt".split(" ");function ka(){if("undefined"==typeof window["_bdhm_loaded_"+c.id]){window["_bdhm_loaded_"+c.id]=g;var a=this;a.a={};a.o=[];a.n={push:function(){a.j.apply(a,arguments)}};a.c=0;a.g=k;la(a)}}
ka.prototype={getData:function(a){try{var b=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie),d;if(!(d=b?b[2]:h)){var e;if(!(e=z(a)))a:{if(window.localStorage){var f=window.localStorage.getItem(a);if(f){var m=f.indexOf("|"),q=f.substring(0,m)-0;if(q&&q>(new Date).getTime()){e=f.substring(m+1);break a}}}else if(F())try{E.load(document.location.hostname);e=E.getAttribute(a);break a}catch(l){}e=h}d=e}return d}catch(n){}},setData:function(a,b,d){try{if(A(a,b,{domain:ma(),path:na(),f:d}),d){var e=
new Date;e.setTime(e.getTime()+d||31536E6);try{window.localStorage?(b=e.getTime()+"|"+b,window.localStorage.setItem(a,b)):F()&&(E.expires=e.toUTCString(),E.load(document.location.hostname),E.setAttribute(a,b),E.save(document.location.hostname))}catch(f){}}else t(a,b)}catch(m){}},j:function(a){if(function(a){if("[object Array]"!==Object.prototype.toString.call(a))return k;for(var b=a.length-1;0<=b;b--){var d=a[b];if(("[object Number]"!=={}.toString.call(d)||!isFinite(d))&&"[object String]"!=={}.toString.call(d)&&
d!==g&&d!==k)return k}return g}(a)){var b=function(a){return a.replace?a.replace(/'/g,"'0").replace(/\*/g,"'1").replace(/!/g,"'2"):a};switch(a[0]){case "_trackPageview":if(1<a.length&&a[1].charAt&&"/"==a[1].charAt(0)){this.a.api|=4;this.a.et=0;this.a.ep="";this.g?(this.a.nv=0,this.a.st=4):this.g=g;var b=this.a.u,d=this.a.su;this.a.u=P+"//"+document.location.host+a[1];this.a.su=document.location.href;R(this);this.a.u=b;this.a.su=d}break;case "_trackEvent":2<a.length&&(this.a.api|=8,this.a.nv=0,this.a.st=
4,this.a.et=4,this.a.ep=b(a[1])+"*"+b(a[2])+(a[3]?"*"+b(a[3]):"")+(a[4]?"*"+b(a[4]):""),R(this));break;case "_setCustomVar":if(4>a.length)break;var d=a[1],e=a[4]||3;if(0<d&&6>d&&0<e&&4>e){this.c++;for(var f=(this.a.cv||"*").split("!"),m=f.length;m<d-1;m++)f.push("*");f[d-1]=e+"*"+b(a[2])+"*"+b(a[3]);this.a.cv=f.join("!");a=this.a.cv.replace(/[^1](\*[^!]*){2}/g,"*").replace(/((^|!)\*)+$/g,"");""!==a?this.setData("Hm_cv_"+c.id,encodeURIComponent(a),c.age):oa()}}}}};
function pa(){var a=z("Hm_unsent_"+c.id);if(a)for(var a=a.split(","),b=0,d=a.length;b<d;b++)C(P+"//"+decodeURIComponent(a[b]).replace(/^https?:\/\//,""),function(a){S(a)})}function S(a){var b=z("Hm_unsent_"+c.id)||"";b&&((b=b.replace(RegExp(encodeURIComponent(a.replace(/^https?:\/\//,"")).replace(/([\*\(\)])/g,"\\$1")+"(%26u%3D[^,]*)?,?","g"),"").replace(/,$/,""))?t("Hm_unsent_"+c.id,b):window.sessionStorage&&window.sessionStorage.removeItem("Hm_unsent_"+c.id))}
function qa(a,b){var d=z("Hm_unsent_"+c.id)||"",e=a.a.u?"":"&u="+encodeURIComponent(document.location.href),d=encodeURIComponent(b.replace(/^https?:\/\//,"")+e)+(d?","+d:"");t("Hm_unsent_"+c.id,d)}function R(a){a.a.rnd=Math.round(2147483647*Math.random());a.a.api=a.a.api||a.c?a.a.api+"_"+a.c:"";var b=P+"//hm.baidu.com/hm.gif?"+ra(a);a.a.api=0;a.c=0;qa(a,b);C(b,function(a){S(a)})}
function sa(a){return function(){a.a.nv=0;a.a.st=4;a.a.et=3;a.a.ep=(new Date).getTime()-a.e.i+","+((new Date).getTime()-a.e.d+a.e.h);R(a)}}
function la(a){try{var b,d,e,f,m,q,l;N=a.getData("Hm_lpvt_"+c.id)||0;13==N.length&&(N=Math.round(N/1E3));a:if(document.referrer){for(var n=0,ua=c.se.length;n<ua;n++)if(RegExp("(^|\\.)"+c.se[n][1].replace(/\./g,"\\.")).test(s(document.referrer))){var y=r(document.referrer,c.se[n][2])||"";if(y||!(2!=c.se[n][0]&&14!=c.se[n][0]&&17!=c.se[n][0])){1==c.se[n][0]&&-1<document.referrer.indexOf("cpro.baidu.com")&&(y="");a.a.se=c.se[n][0];for(var va=a.a,p=c.se[n],G=0,wa=2==p[3]?p[1]+"\\/":"",xa=1==p[3]?"\\."+
p[1]:"",T=p[4].split(","),p=0,ya=T.length;p<ya;p++)if(""!==T[p]&&RegExp(wa+T[p]+xa).test(document.referrer)){G=p+1;break}va.sse=G;a.a.sw=y;d=2;break a}}y=k;U(document.referrer)&&U(document.location.href)?y=g:(G=s(document.referrer),y=Z(G||"",document.location.hostname));d=y?O-N>c.vdur?1:4:3}else d=O-N>c.vdur?1:4;b=4!=d?1:0;if(q=a.getData("Hm_lvt_"+c.id)){l=q.split(",");for(var D=l.length-1;0<=D;D--)13==l[D].length&&(l[D]=""+Math.round(l[D]/1E3));for(;2592E3<O-l[0];)l.shift();m=4>l.length?2:3;for(1===
b&&l.push(O);4<l.length;)l.shift();q=l.join(",");f=l[l.length-1]}else q=O,f="",m=1;a.setData("Hm_lvt_"+c.id,q,c.age);a.setData("Hm_lpvt_"+c.id,O);e=O==a.getData("Hm_lpvt_"+c.id)?"1":"0";if(0==c.nv&&U(document.location.href)&&(""==document.referrer||U(document.referrer)))b=0,d=4;a.a.nv=b;a.a.st=d;a.a.cc=e;a.a.lt=f;a.a.lv=m;a.a.si=c.id;a.a.su=document.referrer;a.a.ds=ia;a.a.cl=ja+"-bit";a.a.ln=ca;a.a.ja=ba?1:0;a.a.ck=aa?1:0;a.a.lo="number"==typeof _bdhm_top?1:0;var I=a.a;b="";if(navigator.plugins&&
navigator.mimeTypes.length){var V=navigator.plugins["Shockwave Flash"];V&&V.description&&(b=V.description.replace(/^.*\s+(\S+)\s+\S+$/,"$1"))}else if(window.ActiveXObject)try{var da=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");da&&(b=da.GetVariable("$version"))&&(b=b.replace(/^.*\s+(\d+),(\d+).*$/,"$1.$2"))}catch(Da){}I.fl=b;var J=a.a,I="";try{external.twGetVersion(external.twGetSecurityID(window))&&-1<external.twGetRunPath.toLowerCase().indexOf("360se")&&(I=17)}catch(Ea){}J.sb=I;a.a.v="1.0.46";
a.a.cv=decodeURIComponent(a.getData("Hm_cv_"+c.id)||"");1==a.a.nv&&(a.a.tt=document.title||"");a.a.api=0;var u=document.location.href;a.a.cm=r(u,"hmmd")||"";a.a.cp=r(u,"hmpl")||"";a.a.cw=r(u,"hmkw")||"";a.a.ci=r(u,"hmci")||"";a.a.cf=r(u,"hmsr")||"";0==a.a.nv?pa():S(".*");if(""!=c.icon){var v,w=c.icon.split("|"),W="http://tongji.baidu.com/hm-web/welcome/ico?s="+c.id,X=("http:"==P?"http://eiv":"https://bs")+".baidu.com"+w[0]+"."+w[1];switch(w[1]){case "swf":var ea=w[2],fa=w[3],J="s="+W,u="HolmesIcon"+
O;v='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="'+u+'" width="'+ea+'" height="'+fa+'"><param name="movie" value="'+X+'" /><param name="flashvars" value="'+(J||"")+'" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" name="'+u+'" width="'+ea+'" height="'+fa+'" src="'+X+'" flashvars="'+(J||"")+'" allowscriptaccess="always" /></object>';break;case "gif":v='<a href="'+W+'" target="_blank"><img border="0" src="'+X+'" width="'+w[2]+'" height="'+
w[3]+'"></a>';break;default:v='<a href="'+W+'" target="_blank">'+w[0]+"</a>"}document.write(v)}var K=document.location.hash.substring(1),za=RegExp(c.id),Aa=-1<document.referrer.indexOf("baidu.com")?g:k;if(K&&za.test(K)&&Aa){var L=document.createElement("script");L.setAttribute("type","text/javascript");L.setAttribute("charset","utf-8");L.setAttribute("src",P+"//"+c.js+r(K,"jn")+"."+r(K,"sx")+"?"+a.a.rnd);var ga=document.getElementsByTagName("script")[0];ga.parentNode.insertBefore(L,ga)}a.l&&a.l();
a.k&&a.k();a.m&&a.m();a.e=new ta;H(window,"beforeunload",sa(a));var x=window._hmt;if(x&&x.length)for(v=0;v<x.length;v++){var B=x[v];switch(B[0]){case "_setAccount":1<B.length&&/^[0-9a-z]{32}$/.test(B[1])&&(a.a.api|=1,window._bdhm_account=B[1]);break;case "_setAutoPageview":if(1<B.length){var Y=B[1];if(k===Y||g===Y)a.a.api|=2,window._bdhm_autoPageview=Y}}}if("undefined"===typeof window._bdhm_account||window._bdhm_account===c.id){window._bdhm_account=c.id;var M=window._hmt;if(M&&M.length)for(var x=
0,Ca=M.length;x<Ca;x++)a.j(M[x]);window._hmt=a.n}if("undefined"===typeof window._bdhm_autoPageview||window._bdhm_autoPageview===g)a.g=g,a.a.et=0,a.a.ep="",R(a)}catch(ha){a=[],a.push("si="+c.id),a.push("n="+encodeURIComponent(ha.name)),a.push("m="+encodeURIComponent(ha.message)),a.push("r="+encodeURIComponent(document.referrer)),C(P+"//hm.baidu.com/hm.gif?"+a.join("&"))}}
function ra(a){for(var b=[],d=0,e=Q.length;d<e;d++){var f=Q[d],m=a.a[f];"undefined"!=typeof m&&""!==m&&b.push(f+"="+encodeURIComponent(m))}return b.join("&")}function oa(){var a="Hm_cv_"+c.id;try{if(A(a,"",{domain:ma(),path:na(),f:-1}),window.sessionStorage&&window.sessionStorage.removeItem(a),window.localStorage)window.localStorage.removeItem(a);else if(F())try{E.load(document.location.hostname),E.removeAttribute(a),E.save(document.location.hostname)}catch(b){}}catch(d){}}
function na(){for(var a=0,b=c.dm.length;a<b;a++){var d=c.dm[a];if(-1<d.indexOf("/")&&Ba(document.location.href,d))return d.replace(/^[^\/]+(\/.*)/,"$1")+"/"}return"/"}function ma(){for(var a=document.location.hostname,b=0,d=c.dm.length;b<d;b++)if(Z(a,c.dm[b]))return c.dm[b].replace(/(:\d+)?[\/\?#].*/,"");return a}function U(a){for(var b=0;b<c.dm.length;b++)if(-1<c.dm[b].indexOf("/")){if(Ba(a,c.dm[b]))return g}else{var d=s(a);if(d&&Z(d,c.dm[b]))return g}return k}
function Ba(a,b){a=a.replace(/^https?:\/\//,"");return 0==a.indexOf(b)}function Z(a,b){a="."+a.replace(/:\d+/,"");b="."+b.replace(/:\d+/,"");var d=a.indexOf(b);return-1<d&&d+b.length==a.length}function ta(){this.d=this.i=(new Date).getTime();this.h=0;"object"==typeof document.onfocusin?(H(document,"focusin",$(this)),H(document,"focusout",$(this))):(H(window,"focus",$(this)),H(window,"blur",$(this)))}
function $(a){return function(b){if(!(b.target&&b.target!=window)){if("blur"==b.type||"focusout"==b.type)a.h+=(new Date).getTime()-a.d;a.d=(new Date).getTime()}}}new ka;})();

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。