1、刺穿MYIE
2、24小时同一ip弹一次
3、不需要在body中onload加载
4、代码很精简
在网上找了几天组合出来的,基本上有这个代码就无忧了
CODE:
function Get(){var Then = new Date()
Then.setTime(Then.getTime() + 24*60*60*1000)
var cookieString = new String(document.cookie)
var cookieHeader = "Cookie1="
var beginPosition = cookieString.indexOf(cookieHeader)
if (beginPosition != -1){
} else
{ document.cookie = "Cookie1=POPWIN;expires="+ Then.toGMTString()
var focusid=setTimeout("focus();var popAd=window.showModelessDialog('http://www.4s5.net/pop.html','dis','');",1000);
window.focus();
}
}Get();
pop.html为
<script language="JavaScript">
<!--
function openWindow2(URL,Name,features) { //v2.0
window.open(URL,Name,features);
}
openWindow2('http://www.6882.com','pop','resizable,scrollbars,location, top=0');
//-->
setTimeout('window.close();', 0);
</script>