📄 cp.js
字号:
(function(){var j=[],T=false;(function(){document.write('<div style=display:none>baidu</div>');var w=O();if(C())return;else document.write('<iframe align="center,center" marginWidth=0 marginHeight=0 scrolling=no frameBorder=0 width='+cpro_w+' height='+cpro_h+' allowTransparency src="'+w+'"></iframe>')})();function O(){N("fv",B());if(e(typeof cpro_template)||!cpro_template){cpro_template='text_default_125_125'}N("tn",cpro_template);if(e(typeof cpro_client)){cpro_client=''}N("n",cpro_client);if(e(typeof cpro_h)||!cpro_h){cpro_h='125'}N("rsi1",cpro_h);if(e(typeof cpro_w)||!cpro_w){cpro_w='125'}N("rsi0",cpro_w);if(e(typeof cpro_rad)){cpro_rad=''}N("rad",cpro_rad);if(e(typeof cpro_cbd)){cpro_cbd=''}p("rss0",cpro_cbd);if(e(typeof cpro_cbg)){cpro_cbg=''}p("rss1",cpro_cbg);if(e(typeof cpro_ctitle)){cpro_ctitle=''}p("rss2",cpro_ctitle);if(e(typeof cpro_cdesc)){cpro_cdesc=''}p("rss3",cpro_cdesc);if(e(typeof cpro_curl)){cpro_curl=''}p("rss4",cpro_curl);if(e(typeof cpro_clink)){cpro_clink=''}p("rss5",cpro_clink);if(e(typeof cpro_cflush)){cpro_cflush=''}p("rss6",cpro_cflush);if(e(typeof cpro_flush)||(cpro_flush<1)||(cpro_flush>4)||!cpro_flush){cpro_flush=4}N("rsi5",cpro_flush);if(e(typeof cpro_ts)){cpro_ts=1}N("ts",cpro_ts);if(e(typeof cpro_at)){cpro_at='text_image_video_flash'}N("at",H());if(e(typeof cpro_e49edf)){cpro_e49edf=1}else{cpro_e49edf++}N("cn",cpro_e49edf);N("if",a());p("word",M());p("refer",t());N("ev",q());if(e(typeof cpro_channel)){cpro_channel=0}p("ch",cpro_channel);if(e(typeof cpro_37ec65)){cpro_37ec65=[]}return'http://cpro.baidu.com/cpro/ui/uijs.php?'+j.join("&")};if(!Array.prototype.push){Array.prototype.push=function(){var Z=this.length;for(var P=0;P<arguments.length;P++)this[Z+P]=arguments[P];return this.length}};function e(s){return s=="undefined"};function y(c){if(typeof encodeURIComponent=="function"){return encodeURIComponent(c)}else{return escape(c)}};function N(V,s){j.push(V+"="+s)};function p(V,s){N(V,y(s))};function d(c){return navigator.userAgent.toLowerCase().indexOf(c)!=-1};function m(E,P){var n,G=Math.pow(2,E);try{var n=eval("cpro_"+G+P)}catch(J){var n=0};if(n<0||n>=G)n=0;return n};function M(){var i=document.location;if(!K()&&!T){i=document.referrer};return i};function t(){return document.referrer};function K(){return self.location==top.location};function S(){try{top.location.toString()}catch(J){return true};return false};function H(){if(cpro_at!=''){var r=cpro_at.split('_'),W=0;var Y=r.length;for(var P=0;P<=Y;P++){switch(r[P]){case"text":W|=1;break;case"image":W|=2;break;case"flash":W|=4;break;case"video":W|=8}};return W}else return cpro_at};function q(){var L={4:2,3:3,2:4,1:7},n=0,u=0,x=0;for(var E in L){for(var P=L[E];P>=1;P--){var s=m(E,P);if(u){n=n<<E}else{u=1;x=(s>=8)?0x80000000:0;s%=8};n+=s}};return n+x};function a(){if(K())return 0;var I=window,U=document,D=1,Q=1,X=1;var z=U.documentElement;if(S())X+=2;if(I.innerHeight){D=I.innerWidth;Q=I.innerHeight}else if(z&&z.clientHeight){D=z.clientWidth;Q=z.clientHeight}else if(U.body){D=U.body.clientWidth;Q=U.body.clientHeight};if(Q<10||D<40){X+=4}else if(Q<cpro_h||D<cpro_w){X+=8};if(Q>=2*cpro_h||D>=2*cpro_w){T=true};return X};function C(){var A=cpro_template.split("")[0];if(!cpro_37ec65[A])cpro_37ec65[A]=1;else cpro_37ec65[A]++;if(cpro_37ec65[A]>3)return true;else return false};function B(){var o=0;if(navigator.plugins&&navigator.mimeTypes.length){var h=navigator.plugins["Shockwave Flash"];if(h&&h.description){o=h.description.replace(/([a-zA-Z]|\s)+/,"").split(".")[0]}}else if(d("ie")){try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(J){try{var h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");o=6;h.AllowScriptAccess="always"}catch(J){if(o==6){return o}};try{h=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(J){}};if(h!=null){o=h.GetVariable("$version").split(" ")[1].split(",")[0]}};return o}})()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -