You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
7.7 KiB

5 years ago
;(function(global){
global.Ta=global.Ta||{};
Ta.hack=function(){
return {
params:'',
conf:{sid:62716249,pf:1,logo:255,hot:{"url":"cloud.tencent.com/|cloud.tencent.com/act/campus|cloud.tencent.com/act/event/cdbexternalactivity.html|cloud.tencent.com/act/event/cdn.html|cloud.tencent.com/act/event/cloud-first-purchase.html|cloud.tencent.com/act/event/cosmarketing.html|cloud.tencent.com/act/free|cloud.tencent.com/act/industry/video|cloud.tencent.com/act/industry/video/education|cloud.tencent.com/act/industry/video/live|cloud.tencent.com/act/industry/video/vod|cloud.tencent.com/act/industry/video/weapp|cloud.tencent.com/act/mid-year|cloud.tencent.com/act/mid-year/market|cloud.tencent.com/act/mid-year/security|cloud.tencent.com/act/mid-year/video|cloud.tencent.com/act/newregion/chengdu|cloud.tencent.com/act/season|cloud.tencent.com/act/season/video|cloud.tencent.com/customer/game?start=1|cloud.tencent.com/developer|cloud.tencent.com/developer/ask|cloud.tencent.com/developer/column|cloud.tencent.com/developer/labs|cloud.tencent.com/developer/labs/lab/10004/console|cloud.tencent.com/document/product/267/33996|cloud.tencent.com/document/product/267/33998|cloud.tencent.com/login|cloud.tencent.com/product/ba|cloud.tencent.com/product/cdb|cloud.tencent.com/product/cdn|cloud.tencent.com/product/cns|cloud.tencent.com/product/cos|cloud.tencent.com/product/cvm|cloud.tencent.com/product/LVB|cloud.tencent.com/product/sms|cloud.tencent.com/product/trtc|cloud.tencent.com/product/UGSV|cloud.tencent.com/product/vod|cloud.tencent.com/product/vts|cloud.tencent.com/solution/e-commerce|cloud.tencent.com/solution/education|cloud.tencent.com/solution/la|cloud.tencent.com/solution/video|cloud.tencent.com/solution/video.html", "isValid":true}} };
};
})(this);
(function(h,n){function v(c){c+="";var a,b,d,e,f,g;d=c.length;b=0;for(a="";b<d;){e=c.charCodeAt(b++)&255;if(b==d){a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4);a+="==";break}f=c.charCodeAt(b++);if(b==d){a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(f&240)>>
4);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2);a+="=";break}g=c.charCodeAt(b++);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((e&3)<<4|(f&240)>>4);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt((f&15)<<2|(g&192)>>6);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63)}return a}function p(c){return(c=
document.cookie.match(new RegExp("(?:^|;\\s)"+c+"=(.*?)(?:;\\s|$)")))?c[1]:""}function q(c,a,b){var d=window.location.host,e={"com.cn":1,"net.cn":1,"gov.cn":1,"com.hk":1,"co.nz":1,"org.cn":1,"edu.cn":1},f=d.split(".");2<f.length&&(d=(e[f.slice(-2).join(".")]?f.slice(-3):f.slice(-2)).join("."));document.cookie=c+"="+a+";path=/;domain="+d+(b?";expires="+b:"")}function l(c){var a,b,d,e={};void 0===c?(d=window.location,c=d.host,a=d.pathname,b=d.search.substr(1),d=d.hash):(d=c.match(/\w+:\/\/((?:[\w-]+\.)+\w+)(?:\:\d+)?(\/[^\?\\\"\'\|\:<>]*)?(?:\?([^\'\"\\<>#]*))?(?:#(\w+))?/i)||
[],c=d[1],a=d[2],b=d[3],d=d[4]);void 0!==d&&(d=encodeURI(d.replace(/\"|\'|\<|\>/ig,"M")));if(b)for(var f=b.split("&"),g=0,h=f.length;g<h;g++)if(-1!=f[g].indexOf("=")){var m=f[g].indexOf("="),k=f[g].slice(0,m),m=f[g].slice(m+1);e[k]=m}return{host:c,path:a,search:b,hash:d,param:e}}function r(c){return(c||"")+Math.round(2147483647*(Math.random()||.5))*+new Date%1E10}function t(c,a){var b=document.createElement("script"),d=document.getElementsByTagName("script")[0];b.src=c;b.type="text/javascript";b.onload=
b.onerror=b.onreadystatechange=function(){/loaded|complete|undefined/.test(b.readyState)&&(b.onload=b.onerror=b.onreadystatechange=null,b.parentNode.removeChild(b),b=void 0,a())};d.parentNode.insertBefore(b,d)}function w(){var c=l(),a={dm:c.host,pvi:"",si:"",url:c.path,arg:encodeURIComponent(c.search||""),ty:1};a.pvi=function(){var b=p("pgv_pvi");b||(a.ty=0,b=r(),q("pgv_pvi",b,"Sun, 18 Jan 2038 00:00:00 GMT;"));return b}();a.si=function(){var a=p("pgv_si");a||(a=r("s"),q("pgv_si",a));return a}();
return a}function x(){var c=l(document.referrer),a=l();return{rdm:c.host,rurl:c.path,rarg:encodeURIComponent(c.search||""),adt:a.param.ADTAG||a.param.adtag}}function y(){try{var c=navigator,a=screen||{width:"",height:"",colorDepth:""},b=document.body,d=a.width+"x"+a.height,e=a.colorDepth+"-bit",f=(c.language||c.userLanguage).toLowerCase(),g=c.javaEnabled()?1:0,h=(new Date).getTimezoneOffset()/60,a="";b&&b.addBehavior&&(b.addBehavior("#default#clientCaps"),a=b.connectionType);var b={fl:"",scr:d,scl:e,
lg:f,jv:g,tz:h,ct:a},m,k,l,n;if((m=c.plugins)&&(k=m.length))for(c=0;c<k;c++){if(l=m[c].description.match(/Shockwave Flash ([\d\.]+) \w*/))b.fl=l[1]}else n=(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version"),b.fl=n.replace(/^.*\s+(\d+)\,(\d+).*$/,"$1.$2")}catch(p){return{}}return b}function z(){var c={};if("undefined"!=typeof _taadHolders&&0<_taadHolders.length)for(var a=0,b=_taadHolders,d=b.length;a<d;a++)c[b[a]]=c[b[a]]?c[b[a]]+1:1;var a=[],e;for(e in c)c.hasOwnProperty(e)&&
a.push(e+"*"+c[e]);return{ext:"adid="+a.join(":")}}function A(){var c=[],a;for(a in k){var b=p(k[a].c_id),d;"afs"==a?d=(d=/ssid=([^&]*)/i.exec(l().hash))&&d[1]?d[1]:"":(d=l().param,d=d[k[a].id]?d[k[a].id]:"");d?(c.push("ty="+k[a].key+";ck=0;id="+d),b=new Date,b.setTime(b.getTime()+2592E6),q(k[a].c_id,d,b.toGMTString())):b&&c.push("ty="+k[a].key+";ck=1;id="+b)}return{pf:c.join("|")}}function u(c){c=c||{};c.conf&&function(){var a=c.conf,b;for(b in a)a.hasOwnProperty(b)&&(h[b]=a[b])}();if(h.sid&&!Ta[h.sid]){for(var a=
[],b=0,d=[w(),x(),{r2:h.sid,r3:"undefined"==typeof _speedMark?"-1":new Date-_speedMark,r4:h.pf||1},y(),z(),A(),{random:+new Date}],e=d.length;b<e;b++)for(var f in d[b])d[b].hasOwnProperty(f)&&a.push(f+"="+(d[b][f]||""));c.params&&a.push(c.params);var a=Ta.src=("https:"==document.location.protocol?"https://pingtas.qq.com/webview":"http://pingtcss.qq.com")+"/pingd?"+a.join("&"),g=new Image;Ta[h.sid]=g;g.onload=g.onerror=g.onabort=function(){g=g.onload=g.onerror=g.onabort=null;Ta[h.sid]=!0};g.src=a;(1*!h.pf||h.hot.isValid)&&
B(a);h.logo&&255!=h.logo&&C(h.logo)}}function B(c){var a=window.location,b=a.host+a.pathname,d=a.pathname,e=function(){t(("https:"==document.location.protocol?"https://":"http://")+"tajs.qq.com/ping_hotclick_min.js",function(){window.hotclick&&(new hotclick(c)).watchClick()})};1*h.pf?(new RegExp(b)).test(h.hot.url)&&e():(a=h.sid,t("http://tcss.qq.com/heatmap/"+a%100+"/"+v(a)+".js?random="+ +new Date,function(){var a;if(window._Cnf&&(a=window._Cnf.url)){a=a.split("|");for(var b=0;b<a.length;b++)if(a[b]==
d){e();break}}}))}function C(c){var a={9:"\u817e\u8baf\u5206\u6790",10:"\u7f51\u7ad9\u7edf\u8ba1",df:'<img src="'+(("https:"==document.location.protocol?"https:":"http:")+"//tajs.qq.com/icon/toss_"+c+".gif")+'" border="0" />'};document.write(['<a href="http://ta.qq.com?ADTAG=FROUM.FOOTER.CLICK.ICON" title="\u817e\u8baf\u5206\u6790" target="_blank">',a[c]||a.df,"</a>"].join(""))}var k={afs:{key:1,id:"ssid",c_id:"pgv_afsid",fr:"hash"},afc:{key:2,id:"__tacid",c_id:"pgv_afcid",fr:"param"},gdt:{key:11,
id:"qz_gdt",c_id:"pgv_gdtid",fr:"param"}};n.taClick=function(c,a){var b=Ta.src.replace(/ext=[^&]*/,function(){return"ext="+("evtid"==a?"ty=0;evtid=":"clickid"==a?"ty=1;clickid=":"adid=")+c}).replace(/r2=([^&]*)/,function(b,c){return"r2="+("clickid"==a?"b":"a")+c});(new Image(1,1)).src=b};n.Ta=n.Ta||{};Ta.pgv=u;!Ta.async&&u(Ta.hack?Ta.hack():"")})({sid:"",pf:"",hot:{url:"",isValid:!1}},this);