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