| 网页全屏广告和不被过滤的弹出窗口代码 今天上中国学生网,有见到了这两位常客。呵呵,不过今天心态不同了,想了想,打开源文件看了看,原来都是用了javascript. 我把那两个JS文件下下来了,代码如下,以后想用的话稍做修改即可(呵呵,真无耻啊……) //fullScreen1.js
setTimeout("document.all.fullSceenDiv.style.display = 'block'","4000"); setTimeout("document.all.fullSceenDiv.style.display = 'none'","8000"); //setTimeout("Restore()","10000"); document.write ("<TABLE WIDTH=765 BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN='center'>"); document.write ("<TR><TD><DIV ID='fullSceenDiv' STYLE='display: none;'><IFRAME SRC='/ad/img/www_fullscreen1.htm' SCROLLING='no' WIDTH=765 HEIGHT=450 MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 ALIGN='center'></IFRAME>"); document.write ("</DIV><TD></TR></TABLE>"); //ad_ofOpenWin.js ...... function openwin() { window.showModelessDialog('http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=125,127,5&cid=1774,180,1&sid=4245&show=ignore&url=http://www.taobao.com/promotion/lunbo_ads_0628.html?allyesPara=1774','','scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px'); window.focus(); setTimeout("window.focus()", 200); } ...... 呵呵,真是费劲心思啊…… |