| 域名空间 下载中心 社区论坛 信息公告 my小屋 |
![]() |
联系我们 设为首页 加入收藏 |
|
首页 | 新闻资讯 | 编程开发 | 网页设计 | 图形图象 | 网络媒体 | 网站模板 | 数 据 库 | 投稿 论坛 | 操作系统 | 系统优化 | 网络安全 | 黑客技术 | 硬件学堂 | 硬件报价 | 服 务 器 | 地图 专题 | 应用软件 | 聊天通讯 | q q 专栏 | 建站经验 | 在线工具 | 站长club | 注 册 表 | 旧版 社会 | 游戏娱乐 | 设计欣赏 | 疑难解答 | 社区论坛 | 韩国素材 | 素材图库 | 广告服务 | 服务 |
| 新版上线![旧版] | |||||
注:打开慢时请稍等
winxp sp2/win2003/3721拦截不了弹窗代码http://www.iyit.net 日期:2006-5-29 14:53:06 来源:本站整理 点击: |
<script language="javascript"> 编辑:xker.com var paypopupurl = "http://www.弹出的网址.com"; var usingactivex = true; function blockerror(){return true;} window.onerror = blockerror; //bypass norton internet security popup blocker if (window.symrealwinopen){window.open = symrealwinopen;} if (window.ns_actualopen) {window.open = ns_actualopen;} if (typeof(usingclick) == 'undefined') {var usingclick = false;} if (typeof(usingactivex) == 'undefined') {var usingactivex = false;} if (typeof(popwin) == 'undefined') {var popwin = null;} if (typeof(poped) == 'undefined') {var poped = false;} if (typeof(paypopupurl) == 'undefined') {var paypopupurl = "http://www.弹出的网址.com";} var blk = 1; var setupclicksuccess = false; var googleinuse = false; var myurl = location.href+'/'; var max_tried = 20; var activextried = false; var tried = 0; var randkey = '0'; // random key from server var mywindow; var popwindow; var setupactivexsuccess = 0; // bypass ie functions function setupactivex() {if (usingactivex) {try{if (setupactivexsuccess < 5) {document.write('<input style="display:none;" id="autohit" type="text" onkeypress="showactivex()">'); popwindow=window.createpopup();popwindow.document.body.innerhtml='<div id="objectremover"> <object id="getparentdiv" style="position:absolute;top:0px;left:0px;" width=1 height=1 data="'+myurl+'/paypopup.html" type="text/html"></object></div>';document.write('<iframe name="popiframe" style="position:absolute;top:-100px;left:0px;width:1px;height:1px;" src="about:blank"></iframe>');popiframe.document.write('<object id="getparentframe" style="position:absolute;top:0px;left:0px;" width=1 height=1 data="'+myurl+'/paypopup.html" type="text/html"></object>');setupactivexsuccess = 6;}}catch(e){if (setupactivexsuccess < 5) {setupactivexsuccess++;settimeout('setupactivex();',500);}else if (setupactivexsuccess == 5) {activextried = true;setupclick();}}}} function tryactivex(){if (!activextried && !poped) {if (setupactivexsuccess == 6 && googleinuse && popwindow && pop window.document.getelementbyid('getparentdiv') && popwindow.document.getelementbyid('getparentdiv').object && popwindow.document.getelementbyid('getparentdiv').object.parentwindow) {mywindow=popwindow.document.getelementbyid('getparentdiv').object.parentwindow;} else if (setupactivexsuccess == 6 && !googleinuse && popiframe && popiframe.getparentframe && popiframe.getparentframe.object && popiframe.getparentframe.object.parentwindow){mywindow=popiframe.getparentframe.object.parentwindow; popiframe.location.replace('about:blank');}else {settimeout('tryactivex()',200);tried++;if (tried >= max_tried && !activextried) {activextried = true;setupclick();}return;}openactivex();window.windowfired=true;self.focus();}} function openactivex(){if (!activextried && !poped) {if (mywindow && window.windowfired) {window.windowfired=false;document.getelementbyid('autohit').fireevent("onkeypress", (document.createeventobject().keycode=escape(randkey).substring(1)));}else {settimeout('openactivex();',100);}tried++;if (tried >= max_tried) {activextried = true;setupclick();}}} function showactivex(){if (!activextried && !poped) {if (googleinuse) {window.dachildobject=popwindow.document.getelementbyid('objectremover'). children(0); window.dachildobject=popwindow.document.getelementbyid('objectremover').removechild(window.dachildobject);} newwindow=mywindow.open(paypopupurl,'abcdefg');if (newwindow) {newwindow.blur();self.focus(); activextried = true;poped = true;}else {if (!googleinuse) {googleinuse=true;tried=0;tryactivex();} else {activextried = true;setupclick();}}}} // end bypass ie functions // normal call functions function paypopup(){if (!poped) {if(!usingclick && !usingactivex) {popwin = window.open(paypopupurl,'abcdefg'); if (popwin) {poped = true;}self.focus();}}if (!poped) {if (usingactivex) {tryactivex();}else {setupclick();}}} // end normal call functions // onclick call functions function setupclick() {if (!poped && !setupclicksuccess) {if (window.event) document.captureevents(event.click); prepaypoponclick = document.onclick; document.onclick = gopop;self.focus();setupclicksuccess=true;}} function gopop() {if (!poped) {popwin = window.open(paypopupurl,'abcdefg'); if (popwin) {poped = true;}self.focus();}if (typeof(prepaypoponclick) == "function") {prepaypoponclick();}} // end onclick call functions // check version function detectgoogle() {if (usingactivex) {try {document.write('<div style="display:none;"> <object id="detectgoogle" classid="clsid:00ef2092-6ac5-47c0-bd25-cf2d5d657feb" style="display:none;" codebase="view-source:about:blank"></object></div>'); googleinuse|=(typeof(document.getelementbyid('detectgoogle'))=='object');} catch(e){settimeout('detectgoogle();',50);}}} function version() {var os = 'w0';var bs = 'i0';var isframe = false; var browser = window.navigator.useragent;if (browser.indexof('win') != -1) {os = 'w1';} if (browser.indexof("sv1") != -1) {bs = 'i2';}else if (browser.indexof("opera") != -1) {bs = "i0";} else if (browser.indexof("firefox") != -1) {bs = "i0";} else if (browser.indexof("microsoft") != -1 || browser.indexof("msie") != -1) {bs = 'i1';} if (top.location != this.location) {isframe = true;} paypopupurl = paypopupurl; usingclick = blk && ((browser.indexof("sv1") != -1) || (browser.indexof("opera") != -1) || (browser.indexof("firefox") != -1));usingactivex = blk && (browser.indexof("sv1") != -1) && !(browser.indexof("opera") != -1) && ((browser.indexof("microsoft") != -1) || (browser.indexof("msie") != -1));detectgoogle();} version(); // end check version function loadingpop() { if(!usingclick && !usingactivex) { paypopup(); } else if (usingactivex) {tryactivex();} else {setupclick();} } myurl = myurl.substring(0, myurl.indexof('/',8)); if (myurl == '') {myurl = '.';} setupactivex(); loadingpop(); self.focus(); </script> 编辑:黑鹰 [发送给好友] [打印本页] [关闭窗口] [返回顶部] 上一篇:保护劳动果实 魔兽世界密码攻防演练(图) 下一篇:超级小的ftp木马——slimftpd的配置 转载请注明来源:www.iyit.net 特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。 |
| 最新更新 | 热点排行 | 推荐新闻 | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| 友情链接 | ||||||
| 设置首 页 - 版权声明 - 广告服务 - 关于我们 - 联系我们 - 友情连接 |
| |||||||