⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cp.js

📁 微机原理与接口技术课程设计题目详细要求
💻 JS
字号:
if('undefined'==typeof(cpro_client)){var cpro_client='';}if('undefined'==typeof(cpro_template)){var cpro_template='';}if('undefined'==typeof(cpro_h)){var cpro_h='';}if('undefined'==typeof(cpro_w)){var cpro_w='';}if('undefined'==typeof(cpro_rad)){var cpro_rad='';}if('undefined'==typeof(cpro_cbd)){var cpro_cbd='';}if('undefined'==typeof(cpro_cbg)){var cpro_cbg='';}if('undefined'==typeof(cpro_ctitle)){var cpro_ctitle='';}if('undefined'==typeof(cpro_cdesc)){var cpro_cdesc='';}if('undefined'==typeof(cpro_curl)){var cpro_curl='';}if('undefined'==typeof(cpro_clink)){var cpro_clink='';}if('undefined'==typeof(cpro_flush)){var cpro_flush=4;}if('undefined'==typeof(cpro_ts)){var cpro_ts=1;}if('undefined'==typeof(cpro_at)){var cpro_at='';}if('undefined'==typeof(cpro_cn)){var cpro_cn=1;}else{cpro_cn++;}if('undefined'==typeof(ads_cnt)){var ads_cnt=[];}var cpro_word='';function fv(){	var ver = 0;	if (navigator.plugins && navigator.mimeTypes.length)	{		var fl = navigator.plugins["Shockwave Flash"];		if (fl && fl.description)		{			ver = fl.description.replace(/([a-zA-Z]|\s)+/, "").split(".")[0];		}	}	else if (navigator.userAgent.toLowerCase().indexOf("ie"))	{		try		{			var fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");		}		catch (e)		{			try			{				var fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");				ver = 6;				fl.AllowScriptAccess = "always";			}			catch (e)			{				if (ver == 6)				{					return ver;				}			}			try			{				fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");			}			catch (e){}		}		if (fl != null)		{			ver = fl.GetVariable("$version").split(" ")[1].split(",")[0];		}	}	return ver;}function geturl(cpro_refer){	if(('undefined'==typeof(cpro_template))||(cpro_template==null)||(cpro_template==''))	{		cpro_template='text_default_125_125';	}	if(('undefined'==typeof(cpro_flush))||(cpro_flush==null)||(cpro_flush=='')||(cpro_flush<1)||(cpro_flush>4))	{		cpro_flush=4;	}	cprourl='http://cpro.baidu.com/cpro/ui/uijs.php?n='+cpro_client;	cprourl+='&rsi5='+cpro_flush;	cprourl+='&tn='+cpro_template;	cprourl+='&rsi0='+cpro_w;	cprourl+='&rsi1='+cpro_h;	cprourl+='&rss0='+escape(cpro_cbd);	cprourl+='&rss1='+escape(cpro_cbg);	cprourl+='&rss2='+escape(cpro_ctitle);	cprourl+='&rss3='+escape(cpro_cdesc);	cprourl+='&rss4='+escape(cpro_curl);	cprourl+='&rss5='+escape(cpro_clink);	cprourl+='&rad='+cpro_rad;	var a=window,b=document,c=top.location,d=b.location,e=b.documentElement,f=b.body;	cpro_word=document.referrer;	if (c===d){cpro_word=c;}		else	{		var cif=1,h=0,w=0;		try{c.toString();}catch(e){cif+=2;}		if(a.innerHeight)		{			h=a.innerHeight;			w=a.innerWidth;		}		else if(e&&e.clientHeight)		{			h=e.clientHeight;			w=e.clientWidth;		}		else if(f)		{			h=f.clientHeight;			w=f.clientWidth;		}		if(h<10||w<40)		{			cif+=4;		}		else if(h<cpro_h||w<cpro_w)		{			cif+=8;		}		cprourl+='&if='+cif;	}	cpro_word=typeof(encodeURIComponent)=='function'?encodeURIComponent(cpro_word):escape(cpro_word);	cprourl+='&word='+cpro_word;	if(cpro_at!='')	{		var at=0,aat=cpro_at.split('_');		for(var i=0;i<aat.length;i++)		{			if(aat[i]=="text"){at|=1;}			else if(aat[i]=="image"){at|=2;}			else if(aat[i]=="flash"){at|=4;}			else if(aat[i]=="video"){at|=8;}		}		cprourl+='&at='+at;	}	cprourl+='&ts='+cpro_ts;	cprourl+='&cn='+cpro_cn;	cprourl+='&fv='+fv();	if(cpro_refer!='')	{		cprourl+='&refer='+cpro_refer;	}	return cprourl;}function limit(){	var ad_type=cpro_template.split("_")[0];	if(!ads_cnt[ad_type]) ads_cnt[ad_type]=1;	else ads_cnt[ad_type]++;	if(ads_cnt[ad_type]>3) return true;	else return false;}function showad(){	if(('undefined'==typeof(cpro_w))||(cpro_w==null)||(cpro_w==''))	{		cpro_w='125';	}	if(('undefined'==typeof(cpro_h))||(cpro_h==null)||(cpro_h==''))	{		cpro_h='125';	}	document.write('<div style=display:none>baidu</div>');	var cpro_refer=typeof(encodeURIComponent)=='function'?encodeURIComponent(document.referrer):escape(document.referrer);	var cpro_ad='<iframe align="center,center" marginWidth=0 marginHeight=0 scrolling=no frameBorder=0 width='+cpro_w+' height='+cpro_h+' allowTransparency src="'+geturl(cpro_refer)+'"></iframe>';	if(limit())return "";	else return cpro_ad;}document.write(showad());

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -