📄 pop-up.js
字号:
function LoadCookie(Key)
{
var CookieString = document.cookie
var CookieSet = CookieString.split(';')
var SetSize = CookieSet.length
var CookiePieces
var ReturnValue = ""
var x = 0
for (x = 0; ((x < SetSize) && (ReturnValue == "")); x ++)
{
CookiePieces = CookieSet[x].split ('=')
if (CookiePieces[0].substring (0,1) == ' ')
CookiePieces[0] = CookiePieces[0].substring (1, CookiePieces[0].length)
if (CookiePieces[0] == Key)
{
ReturnValue = CookiePieces[1]
break
}
}
return ReturnValue
}
if ("" == LoadCookie("etangWHSAD"))
{
document.cookie = "etangWHSAD=done; path=/"
var myURL1='http://trace.etang.com/cgi/dispatch?target=http://bag.etang.com&name=HOSTPOPbag';
var myURL2='http://trace.etang.com/cgi/dispatch?target=http://people.etang.com/&name=HOSTPOPrw';
var myURL3='http://trace.etang.com/cgi/dispatch?target=http://charanavi.etang.com/horoscope/djs/djs_ny.htm&name=HOSTPOPxx';
var myURL4='http://trace.etang.com/cgi/dispatch?target=http://sms.etang.com/promote/christmas/index.htm&name=HOSTPOPsmschir';
var myURL5='http://trace.etang.com/cgi/dispatch?target=http://mms.etang.com&name=HOSTPOPmms';
var myURL6='http://trace.etang.com/cgi/dispatch?target=http://chat.etang.com&name=HOSTPOPchat';
var myWidth='600';
var myHeight='500';
var popV='width='+myWidth+',height='+myHeight+',titlebar=yes,toolbar=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes';
popV+='scrollbars=yes,resizable=yes,channelmode=0,directories=0,status=yes'; var dz=document;
if(parseFloat(navigator.appVersion)>=4){var myTI=screen.height/2-myHeight/2;
var myLI=screen.width/2-myWidth/2;popV+=',top='+myTI+',left='+myLI;}
if(dz.cookie.indexOf('he=llo')<=0)
{ //setTimeout("fastClickpopWindow()",5000);
fastClickpopWindow();
dz.cookie='he=llo';
}function fastClickpopWindow(){var how_many_ads = 6; //change this number to what you want, and add myURLn abovevar now = new Date();var sec = now.getSeconds();var ad = sec % how_many_ads ;
ad =ad + 1;if (ad==1) { window.open(myURL1,'etangWHSAD',popV); } if (ad==2) { window.open(myURL2,'etangWHSAD',popV); }if (ad==3) { window.open(myURL3,'etangWHSAD',popV); }if (ad==4) { window.open(myURL4,'etangWHSAD',popV); }if (ad==5) { window.open(myURL5,'etangWHSAD',popV); }if (ad==6) { window.open(myURL6,'etangWHSAD',popV); }
} //function fastClickpopWindow}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -