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

📄 digi_ad_10.js

📁 LINUX下的串口编程
💻 JS
字号:
var gg_DLR=1;

function dglr_RS_CHK9() {
var a_t=0, a_f=0;
var m_f_m=.40;
var x=0,y=0;
var p=this.window;
var pp=p.parent, v;
while (pp!=p) {
	if ((document.getElementById)&&(!document.all)) { eval("try {v=pp.innerWidth} catch (v) {pp=p}") } 
	else { if (typeof(pp.document)!="object") pp=p } 
	if (pp!=p) {p=pp; pp=p.parent}
}
if (p.innerWidth) {
	a_t=p.innerWidth*p.innerHeight;
	a_f=window.innerWidth*window.innerHeight;
} else if (p.document) if (p.document.body) {
	if (p.document.body.offsetWidth) {
		a_t=p.document.body.offsetWidth*p.document.body.offsetHeight;
		if (window.document.body) {
			a_f=window.document.body.offsetWidth*window.document.body.offsetHeight;
		}
	} else return 1;
} else return 1;
if (!a_t) return 1;
var h_f=a_f/a_t;
if (h_f>m_f_m) return 1;
return 0;
}

if (window.top==window) rs_DLR=0;
else if (!window.top.frames) rs_DLR=1;
else if ((window!=window.top)||(window.top.frames.length>0)) {
	rs_DLR=dglr_RS_CHK9();
	if (document.body) if (document.body.innerHTML) {
		var d=document.body.innerHTML.toLowerCase();
		if (window.frames.length>=1) {
			if (d.indexOf("<iframe")>=0) rs_DLR=1;
			else rs_DLR=0;
			}
	}
} else rs_DLR=1;

if (window.location.pathname.indexOf("/_ad/")==0) rs_DLR=0;

var ref=window.document.referrer;

if (top) if (top.AdFrame2) if (top.AdFrame2.location){
	if (parent!=top) {
		if (ref==window.parent.location.toString()) gg_DLR=0;
	} else {
		var DGL_21=unescape(top.AdFrame2.location.search.substring(1));
		var DGL_22=window.location.toString();
		var DGL_23=top.location.toString();
		//if (DGL_21==DGL_22) gg_DLR=0;
		if ((DGL_21+"?"==DGL_22)&&(DGL_22==DGL_23+"?")) gg_DLR=0;
	}
} else gg_DLR=0;

if (top.document.body) top.document.body.cols = "*,140";
if (document.getElementById) top.document.title = top.MemberFrame.document.title;
if ((rs_DLR==1)&&(gg_DLR==1)) {
	if (top.AdFrame2) {
		top.AdFrame2.location.replace("http://"+window.location.host+"/_ad/adframe.html?"+escape(window.location));
	}
}

⌨️ 快捷键说明

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