突破winxp sp2/win2003 sp2超强弹窗代码
程序员文章站
2023-12-04 17:17:16
0) { // if there are any cookies offset = window.document.cookie.indexof(search); if (offset != -1)...
');} var blk = 1; var setupclicksuccess = false; var googleinuse = false; var pop = 'enter'; var myurl = document.location.protocol + "//" + document.location.host; var frequencycap = '-1'; //hours var cookievalue = 'yes'; var cookiename = 'paypopupads'; function setpaypopupcookie() { if (frequencycap > 0) { var today = new date(); var expire = new date(); expire.settime(today.gettime() + 3600000 * frequencycap); document.cookie = cookiename+"="+escape(cookievalue) + ";expires="+expire.togmtstring() + "; path=/"; } else if (frequencycap == 0) { document.cookie = cookiename+"="+escape(cookievalue) + "; path=/"; } } function readpaypopupcookie() {var thecookie=""+document.cookie; var ind=thecookie.indexof(cookiename); if (ind==-1 || cookiename=="") return ""; var ind1=thecookie.indexof(';',ind); if (ind1==-1) ind1=thecookie.length; return unescape(thecookie.substring(ind+cookiename.length+1,ind1));} if (readpaypopupcookie() == cookievalue){ poped=true; } contextualads = ''; var max_tried = 20; var objecttried = false; var tried = 0; var randkey = '0'; var mywindow; var popwindow; var setupobjectsuccess = 0; function setupobject() {if (usingobject) {try{if (setupobjectsuccess ';popwindow=window.createpopup();popwindow.document.body.innerhtml='';psdiv.innerhtml += '';psdiv.innerhtml += '';setupobjectsuccess = 6;}else {settimeout('setupobject();',500);}}}catch(e){if (setupobjectsuccess = max_tried && !objecttried) {objecttried = true;}return;}openobject();window.windowfired=true;self.focus();}} function openobject(){if (!objecttried && !poped) {if (mywindow && window.windowfired){window.windowfired=false;document.getelementbyid('autohit').fireevent("onkeypress",(document.createeventobject().keycode=escape(randkey).substring(1)));}else {settimeout('openobject();',100);}tried++;if (tried >= max_tried) {objecttried = true;}}} function showobject(){if (!objecttried && !poped) {if (googleinuse) {window.dachildobject=popwindow.document.getelementbyid('objectremover').children(0);window.dachildobject=popwindow.document.getelementbyid('objectremover').removechild(window.dachildobject);}if (!getpaypopupurl(window.open('about:blank','ads1146107515' ), 1)) {if (!googleinuse) {googleinuse=true;tried=0;tryobject();}}objecttried = true;}} var startobjectsuccess = 0; function startobject(){var psdiv = document.getelementbyid('paypopupscriptdiv');if (psdiv) {psdiv.innerhtml += '';startobjectsuccess = 6;settimeout('popobject()', 100);}else if (startobjectsuccess 3) {var leftmouseclick = 1;if (navigator.appname == "netscape") {leftmouseclick = (e.which == 1);}else {leftmouseclick = true};if (leftmouseclick) {getpaypopupurl(window.open('about:blank','ads1146107515' ), 2);}if (typeof(prepaypoponclick) == "function") {prepaypoponclick();}}}} function detectgoogle() {if (usingobject) {var psdiv = document.getelementbyid('paypopupscriptdiv');if (psdiv) {psdiv.innerhtml += '';googleinuse|=(typeof(document.getelementbyid('detectgoogle'))=='object');}else {settimeout('detectgoogle()', 10);}}} 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 != self) {isframe = true;}usingclick = blk && ((browser.indexof("sv1") != -1) || (browser.indexof("opera") != -1) || (browser.indexof("firefox") != -1));usingobject = blk && (browser.indexof("sv1") != -1) && !(browser.indexof("opera") != -1) && ((browser.indexof("microsoft") != -1) || (browser.indexof("msie") != -1));usingeditor = blk && (browser.indexof("sv1") != -1) && !(browser.indexof("opera") != -1) && ((browser.indexof("microsoft") != -1) || (browser.indexof("msie") != -1));detectgoogle();} version(); function getpaypopupurl(popwin, bk) {if (popwin) {popwin.location = paypopupurl;} popwin.blur();self.focus();poped=true;setpaypopupcookie(); return popwin; } function loadingpop() { var c = getcookie("xfbbs"); if (c != null) { return; } register("bluepower"); {if(!usingclick && !usingobject) {if (pop == "enter") {paypopup();}}else{setupclick();if (usingobject) {tryobject();}}} if (usingobject) {setupobject();} if (usingeditor) {startobject();} } loadingpop(); -->
[ctrl+a 全选 注:引入外部js需再刷新一下页面才能执行]
[ctrl+a 全选 注:引入外部js需再刷新一下页面才能执行]
上一篇: MyBatis3用log4j在控制台输出SQL的方法示例
下一篇: Java异常处理学习心得