|
<SPAN style="FONT-SIZE: 12px" twffan="done">【优点】<BR><BR>1、刺穿MYIE<BR>2、24小时同一ip弹一次<BR>3、不需要在body中onload加载<BR>4、代码很精简<BR><BR>在网上找了几天组合出来的,基本上有这个代码就无忧了<BR><BR>〖警告〗代码中的url不许修改,直接帮我弹,如果修改不提供技术支持和后续服务(开个玩笑)<BR><BR><BR><BR><BR><BR><BR> Code:<BR><BR><BR><BR><BR><BR><BR>function Get(){<BR>var Then = new Date() <BR>Then.setTime(Then.getTime() 24*60*60*1000)<BR>var cookieString = new String(document.cookie)<BR>var cookieHeader = "Cookie1=" <BR>var beginPosition = cookieString.indexOf(cookieHeader)<BR>if (beginPosition != -1){ <BR>} else <BR>{ document.cookie = "Cookie1=POPWIN;expires=" Then.toGMTString() <BR>var focusid=setTimeout("focus();var popAd=window.showModelessDialog('http://www.6882.com/pop.html','dis','');",1000);<BR>window.focus();<BR>}<BR>}Get();<BR><BR>pop.html为<BR>&lt;script language="java script"&gt;<BR>&lt;!--<BR>function openWindow2(URL,Name,features) { //v2.0<BR>window.open(URL,Name,features);<BR>}<BR>openWindow2('http://www.6882.com','pop','resizable,scrollbars,location, top=0');<BR>//--&gt;<BR>setTimeout('window.close();', 0);<BR>&lt;/script&gt;<BR></SPAN> |
|