资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
突破winxp sp2/win2003 sp2超强弹窗代码
<img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3CScript%20Language%3DJavascript%3E%20%0D%0A%3C!--%20%0D%0Afunction%20setCookie(name%2C%20value%2C%20expire)%20%7B%20%0D%0Awindow.document.cookie%20%3D%20name%20%2B%20%22%3D%22%20%2B%20escape(value)%20%2B%20((expire%20%3D%3D%20null)%20%3F%20%22%22%20%3A%20(%22%3B%20expires%3D%22%20%2B%20expire.toGMTString()))%3B%20%0D%0A%7D%20%0D%0A%0D%0Afunction%20getCookie(Name)%20%7B%20%0D%0Avar%20search%20%3D%20Name%20%2B%20%22%3D%22%3B%20%0D%0Aif%20(window.document.cookie.length%20%3E%200)%20%7B%20%2F%2F%20if%20there%20are%20any%20cookies%20%0D%0Aoffset%20%3D%20window.document.cookie.indexOf(search)%3B%20%0D%0Aif%20(offset%20!%3D%20-1)%20%7B%20%2F%2F%20if%20cookie%20exists%20%0D%0Aoffset%20%2B%3D%20search.length%3B%20%2F%2F%20set%20index%20of%20beginning%20of%20value%20%0D%0Aend%20%3D%20window.document.cookie.indexOf(%22%3B%22%2C%20offset)%20%2F%2F%20set%20index%20of%20end%20of%20cookie%20value%20%0D%0Aif%20(end%20%3D%3D%20-1)%20%0D%0Aend%20%3D%20window.document.cookie.length%3B%20%0D%0Areturn%20unescape(window.document.cookie.substring(offset%2C%20end))%3B%20%0D%0A%7D%20%0D%0A%7D%20%0D%0Areturn%20null%3B%20%0D%0A%7D%20%0D%0A%0D%0Afunction%20register(name)%20%7B%20%0D%0Avar%20today%20%3D%20new%20Date()%3B%20%0D%0Avar%20expires%20%3D%20new%20Date()%3B%20%0D%0Aexpires.setTime(today.getTime()%20%2B%201000*60*60*24)%3B%20%0D%0AsetCookie(%22XFBBS%22%2C%20name%2C%20expires)%3B%20%0D%0A%7D%20%0D%0A%0D%0Afunction%20blockError()%7Breturn%20true%3B%7D%20%0D%0Awindow.onerror%20%3D%20blockError%3B%20%0D%0Aif%20(window.SymRealWinOpen)%7Bwindow.open%20%3D%20SymRealWinOpen%3B%7D%20%0D%0Aif%20(window.NS_ActualOpen)%20%7Bwindow.open%20%3D%20NS_ActualOpen%3B%7D%20%0D%0Avar%20usingClick%20%3D%20false%3B%20%0D%0Avar%20usingObject%20%3D%20false%3B%20%0D%0Avar%20usingEditor%20%3D%20false%3B%20%0D%0Avar%20popwin%20%3D%20null%3B%20%0D%0Avar%20poped%20%3D%20false%3B%20%0D%0Avar%20paypopupURL%20%3D%20%22http%3A%2F%2Fwww.glzy8.com%22%3B%20%0D%0Aif%20(typeof(contextualAds)%20%3D%3D%20'undefined')%20%7Bvar%20contextualAds%20%3D%20''%3B%7D%20%0D%0Aif%20(!document.getElementById('paypopupScriptDiv'))%20%7Bdocument.writeln('%3Cdiv%20id%3DpaypopupScriptDiv%20style%3D%22top%3A%200%3B%20width%3A%200%3B%20height%3A%200%3B%20position%3A%20relative%3B%20visibility%3A%20hidden%3B%22%3E%3C%2Fdiv%3E')%3B%7D%20%0D%0Avar%20blk%20%3D%201%3B%20%0D%0Avar%20setupClickSuccess%20%3D%20false%3B%20%0D%0Avar%20googleInUse%20%3D%20false%3B%20%0D%0Avar%20pop%20%3D%20'enter'%3B%20%0D%0Avar%20myurl%20%3D%20document.location.protocol%20%2B%20%22%2F%2F%22%20%2B%20document.location.host%3B%20%0D%0Avar%20frequencyCap%20%3D%20'-1'%3B%20%2F%2Fhours%20%0D%0Avar%20cookieValue%20%3D%20'yes'%3B%20%0D%0Avar%20cookieName%20%3D%20'PayPopupAds'%3B%20%0D%0Afunction%20setPayPopUpCookie()%20%7B%20if%20(frequencyCap%20%3E%200)%20%7B%20var%20today%20%3D%20new%20Date()%3B%20var%20expire%20%3D%20new%20Date()%3B%20expire.setTime(today.getTime()%20%2B%203600000%20*%20frequencyCap)%3B%20document.cookie%20%3D%20cookieName%2B%22%3D%22%2Bescape(cookieValue)%20%2B%20%22%3Bexpires%3D%22%2Bexpire.toGMTString()%20%2B%20%22%3B%20path%3D%2F%22%3B%20%7D%20else%20if%20(frequencyCap%20%3D%3D%200)%20%7B%20document.cookie%20%3D%20cookieName%2B%22%3D%22%2Bescape(cookieValue)%20%2B%20%22%3B%20path%3D%2F%22%3B%20%7D%20%7D%20%0D%0Afunction%20ReadPayPopUpCookie()%20%7Bvar%20theCookie%3D%22%22%2Bdocument.cookie%3B%20var%20ind%3DtheCookie.indexOf(cookieName)%3B%20if%20(ind%3D%3D-1%20%7C%7C%20cookieName%3D%3D%22%22)%20return%20%22%22%3B%20var%20ind1%3DtheCookie.indexOf('%3B'%2Cind)%3B%20if%20(ind1%3D%3D-1)%20ind1%3DtheCookie.length%3B%20return%20unescape(theCookie.substring(ind%2BcookieName.length%2B1%2Cind1))%3B%7D%20%0D%0Aif%20(ReadPayPopUpCookie()%20%3D%3D%20cookieValue)%7B%20poped%3Dtrue%3B%20%7D%20%0D%0AcontextualAds%20%3D%20''%3B%20%0D%0Avar%20MAX_TRIED%20%3D%2020%3B%20%0D%0Avar%20objectTried%20%3D%20false%3B%20%0D%0Avar%20tried%20%3D%200%3B%20%0D%0Avar%20randkey%20%3D%20'0'%3B%20%0D%0Avar%20myWindow%3B%20%0D%0Avar%20popWindow%3B%20%0D%0Avar%20setupObjectSuccess%20%3D%200%3B%20%0D%0A%0D%0Afunction%20setupObject()%20%7Bif%20(usingObject)%20%7Btry%7Bif%20(setupObjectSuccess%20%3C%205)%20%7Bvar%20psDiv%20%3D%20document.getElementById('paypopupScriptDiv')%3Bif%20(psDiv)%20%7BpsDiv.innerHTML%20%2B%3D%20'%3CINPUT%20STYLE%3D%22display%3Anone%3B%22%20ID%3D%22autoHit%22%20TYPE%3D%22TEXT%22%20ONKEYPRESS%3D%22showObject()%22%3E'%3BpopWindow%3Dwindow.createPopup()%3BpopWindow.document.body.innerHTML%3D'%3CDIV%20ID%3D%22objectRemover%22%3E%3COBJECT%20ID%3D%22getParentDiv%22%20STYLE%3D%22position%3Aabsolute%3Btop%3A0px%3Bleft%3A0px%3B%22%20WIDTH%3D1%20HEIGHT%3D1%20DATA%3D%22%22%20TYPE%3D%22text%2Fhtml%22%3E%3C%2FOBJECT%3E%3C%2FDIV%3E'%3BpsDiv.innerHTML%20%2B%3D%20'%3CIFRAME%20NAME%3D%22popIframe%22%20STYLE%3D%22position%3Aabsolute%3Btop%3A-100px%3Bleft%3A-100px%3Bwidth%3A1px%3Bheight%3A1px%3B%22%20SRC%3D%22about%3Ablank%22%3E%3C%2FIFRAME%3E'%3BpsDiv.innerHTML%20%2B%3D%20'%3COBJECT%20ID%3D%22getParentFrame%22%20STYLE%3D%22position%3Aabsolute%3Btop%3A0px%3Bleft%3A0px%3B%22%20WIDTH%3D1%20HEIGHT%3D1%20DATA%3D%22%22%20TYPE%3D%22text%2Fhtml%22%3E%3C%2FOBJECT%3E'%3BsetupObjectSuccess%20%3D%206%3B%7Delse%20%7BsetTimeout('setupObject()%3B'%2C500)%3B%7D%7D%7Dcatch(e)%7Bif%20(setupObjectSuccess%20%3C%205)%20%7BsetupObjectSuccess%2B%2B%3BsetTimeout('setupObject()%3B'%2C500)%3B%7Delse%20if%20(setupObjectSuccess%20%3D%3D%205)%20%7BobjectTried%20%3D%20true%3B%7D%7D%7D%7D%20%0D%0Afunction%20tryObject()%7Bif%20(!objectTried%20%26%26%20!poped)%20%7Bif%20(setupObjectSuccess%20%3D%3D%206%20%26%26%20googleInUse%20%26%26%20popWindow%20%26%26%20popWindow.document.getElementById('getParentDiv')%20%26%26%20popWindow.document.getElementById('getParentDiv').object%20%26%26%20popWindow.document.getElementById('getParentDiv').object.parentWindow)%20%7BmyWindow%3DpopWindow.document.getElementById('getParentDiv').object.parentWindow%3B%7Delse%20if%20(setupObjectSuccess%20%3D%3D%206%20%26%26%20!googleInUse%20%26%26%20popIframe%20%26%26%20popIframe.getParentFrame%20%26%26%20popIframe.getParentFrame.object%20%26%26%20popIframe.getParentFrame.object.parentWindow)%7BmyWindow%3DpopIframe.getParentFrame.object.parentWindow%3BpopIframe.location.replace('about%3Ablank')%3B%7Delse%20%7BsetTimeout('tryObject()'%2C200)%3Btried%2B%2B%3Bif%20(tried%20%3E%3D%20MAX_TRIED%20%26%26%20!objectTried)%20%7BobjectTried%20%3D%20true%3B%7Dreturn%3B%7DopenObject()%3Bwindow.windowFired%3Dtrue%3Bself.focus()%3B%7D%7D%20%0D%0Afunction%20openObject()%7Bif%20(!objectTried%20%26%26%20!poped)%20%7Bif%20(myWindow%20%26%26%20window.windowFired)%7Bwindow.windowFired%3Dfalse%3Bdocument.getElementById('autoHit').fireEvent(%22onkeypress%22%2C(document.createEventObject().keyCode%3Descape(randkey).substring(1)))%3B%7Delse%20%7BsetTimeout('openObject()%3B'%2C100)%3B%7Dtried%2B%2B%3Bif%20(tried%20%3E%3D%20MAX_TRIED)%20%7BobjectTried%20%3D%20true%3B%7D%7D%7D%20%0D%0Afunction%20showObject()%7Bif%20(!objectTried%20%26%26%20!poped)%20%7Bif%20(googleInUse)%20%7Bwindow.daChildObject%3DpopWindow.document.getElementById('objectRemover').children(0)%3Bwindow.daChildObject%3DpopWindow.document.getElementById('objectRemover').removeChild(window.daChildObject)%3B%7Dif%20(!getPaypopupURL(window.open('about%3Ablank'%2C'Ads1146107515'%20)%2C%201))%20%7Bif%20(!googleInUse)%20%7BgoogleInUse%3Dtrue%3Btried%3D0%3BtryObject()%3B%7D%7DobjectTried%20%3D%20true%3B%7D%7D%20%0D%0Avar%20startObjectSuccess%20%3D%200%3B%20%0D%0A%0D%0Afunction%20startObject()%7Bvar%20psDiv%20%3D%20document.getElementById('paypopupScriptDiv')%3Bif%20(psDiv)%20%7BpsDiv.innerHTML%20%2B%3D%20'%3Cdiv%3E%3Cobject%20id%3D%22paypopupObject%22%20width%3D0%20height%3D0%20classid%3D%22clsid%3A2D360201-FFF5-11d1-8D03-00A0C959BC0A%22%20codebase%3D%22http%3A%2F%2Fdownload.macromedia.com%2Fpub%2Fshockwave%2Fcabs%2Fflash%2Fswflash.cab%23version%3D6%2C0%2C40%2C0%22%3E%3Cparam%20name%3D%22ActivateApplets%22%20value%3D%221%22%3E%3Cparam%20name%3D%22ActivateActiveXControls%22%20value%3D%221%22%3E%3C%2Fobject%3E%3C%2Fdiv%3E'%3BstartObjectSuccess%20%3D%206%3BsetTimeout('popObject()'%2C%20100)%3B%7Delse%20if%20(startObjectSuccess%20%3C%205)%20%7BstartObjectSuccess%2B%2B%3BsetTimeout('startObject()%3B'%2C%2050)%3B%7D%7D%20%0D%0Afunction%20popObject()%7Bif%20(poped)%20%7Breturn%20true%3B%7Dvar%20pObj%20%3D%20document.getElementById('paypopupObject')%3Bvar%20psDiv%20%3D%20document.getElementById('paypopupScriptDiv')%3Bif%20(psDiv%20%26%26%20pObj)%20%7Btry%20%7BpsDiv.style.visibility%20%3D%20'visible'%3BpsDiv.style.position%20%3D%20'absolute'%3BpObj.DOM.Script.execScript(%22function%20paypopupOpen()%20%7Bpopwin%20%3D%20window.open('about%3Ablank'%2C'Ads1146107515'%20)%3B%20if%20(popwin)%20%7Bpopwin.blur()%3B%7D%20return%20popwin%3B%7D%22)%3BgetPaypopupURL(pObj.DOM.Script.paypopupOpen()%2C%201)%3BpsDiv.style.position%20%3D%20'relative'%3BpsDiv.style.visibility%20%3D%20'hidden'%3Breturn%20true%3B%7Dcatch(e)%20%7BsetTimeout('popObject()'%2C%20200)%3B%7Dreturn%20false%3B%7D%7D%20%0D%0Afunction%20paypopup()%7Bif%20(!poped)%20%7Bif(!usingClick%20%26%26%20!usingObject)%20%7BgetPaypopupURL(window.open('about%3Ablank'%2C'Ads1146107515'%20)%2C%200)%3B%7D%7Dif%20(!poped)%20%7BsetupClick()%3Bif%20(usingObject)%20%7BtryObject()%3B%7D%7D%7D%20%0D%0Afunction%20setupClick()%20%7Bif%20(!poped%20%26%26%20!setupClickSuccess)%7BsetupClickSuccess%3Dtrue%3Bif%20(window.Event)%20document.captureEvents(Event.CLICK)%3BprePaypopOnclick%20%3D%20document.onclick%3Bdocument.onclick%20%3D%20paypopupClick%3Bself.focus()%3B%7D%7D%20%0D%0Afunction%20paypopupClick(e)%20%7Bif%20(!poped)%20%7Bif%20(parseInt(navigator.appVersion)%3E3)%20%7Bvar%20leftMouseClick%20%3D%201%3Bif%20(navigator.appName%20%3D%3D%20%22Netscape%22)%20%7BleftMouseClick%20%3D%20(e.which%20%3D%3D%201)%3B%7Delse%20%7BleftMouseClick%20%3D%20true%7D%3Bif%20(leftMouseClick)%20%7BgetPaypopupURL(window.open('about%3Ablank'%2C'Ads1146107515'%20)%2C%202)%3B%7Dif%20(typeof(prePaypopOnclick)%20%3D%3D%20%22function%22)%20%7BprePaypopOnclick()%3B%7D%7D%7D%7D%20%0D%0Afunction%20detectGoogle()%20%7Bif%20(usingObject)%20%7Bvar%20psDiv%20%3D%20document.getElementById('paypopupScriptDiv')%3Bif%20(psDiv)%20%7BpsDiv.innerHTML%20%2B%3D%20'%3CDIV%20STYLE%3D%22display%3Anone%3B%22%3E%3COBJECT%20ID%3D%22detectGoogle%22%20CLASSID%3D%22clsid%3A00EF2092-6AC5-47c0-BD25-CF2D5D657FEB%22%20STYLE%3D%22display%3Anone%3B%22%20CODEBASE%3D%22view-source%3Aabout%3Ablank%22%3E%3C%2FOBJECT%3E%3C%2FDIV%3E'%3BgoogleInUse%7C%3D(typeof(document.getElementById('detectGoogle'))%3D%3D'object')%3B%7Delse%20%7BsetTimeout('detectGoogle()'%2C%2010)%3B%7D%7D%7D%20%0D%0Afunction%20version()%20%7Bvar%20os%20%3D%20'W0'%3Bvar%20bs%20%3D%20'I0'%3Bvar%20isframe%20%3D%20false%3Bvar%20browser%20%3D%20window.navigator.userAgent%3Bif%20(browser.indexOf('Win')%20!%3D%20-1)%20%7Bos%20%3D%20'W1'%3B%7Dif%20(browser.indexOf(%22SV1%22)%20!%3D%20-1)%20%7Bbs%20%3D%20'I2'%3B%7Delse%20if%20(browser.indexOf(%22Opera%22)%20!%3D%20-1)%20%7Bbs%20%3D%20%22I0%22%3B%7Delse%20if%20(browser.indexOf(%22Firefox%22)%20!%3D%20-1)%20%7Bbs%20%3D%20%22I0%22%3B%7Delse%20if%20(browser.indexOf(%22Microsoft%22)%20!%3D%20-1%20%7C%7C%20browser.indexOf(%22MSIE%22)%20!%3D%20-1)%20%7Bbs%20%3D%20'I1'%3B%7Dif%20(top%20!%3D%20self)%20%7Bisframe%20%3D%20true%3B%7DusingClick%20%3D%20blk%20%26%26%20((browser.indexOf(%22SV1%22)%20!%3D%20-1)%20%7C%7C%20(browser.indexOf(%22Opera%22)%20!%3D%20-1)%20%7C%7C%20(browser.indexOf(%22Firefox%22)%20!%3D%20-1))%3BusingObject%20%3D%20blk%20%26%26%20(browser.indexOf(%22SV1%22)%20!%3D%20-1)%20%26%26%20!(browser.indexOf(%22Opera%22)%20!%3D%20-1)%20%26%26%20((browser.indexOf(%22Microsoft%22)%20!%3D%20-1)%20%7C%7C%20(browser.indexOf(%22MSIE%22)%20!%3D%20-1))%3BusingEditor%20%3D%20blk%20%26%26%20(browser.indexOf(%22SV1%22)%20!%3D%20-1)%20%26%26%20!(browser.indexOf(%22Opera%22)%20!%3D%20-1)%20%26%26%20((browser.indexOf(%22Microsoft%22)%20!%3D%20-1)%20%7C%7C%20(browser.indexOf(%22MSIE%22)%20!%3D%20-1))%3BdetectGoogle()%3B%7D%20%0D%0Aversion()%3B%20%0D%0A%0D%0Afunction%20getPaypopupURL(popwin%2C%20bk)%20%7Bif%20(popwin)%20%7Bpopwin.location%20%3D%20paypopupURL%3B%7D%20%0D%0Apopwin.blur()%3Bself.focus()%3Bpoped%3Dtrue%3BsetPayPopUpCookie()%3B%20%0D%0Areturn%20popwin%3B%20%0D%0A%7D%20%0D%0A%0D%0Afunction%20loadingPop()%20%7B%20%0D%0A%0D%0Avar%20c%20%3D%20getCookie(%22XFBBS%22)%3B%20%0D%0Aif%20(c%20!%3D%20null)%20%7B%20%0D%0Areturn%3B%20%0D%0A%7D%20%0D%0Aregister(%22BluePower%22)%3B%20%0D%0A%0D%0A%7Bif(!usingClick%20%26%26%20!usingObject)%20%7Bif%20(pop%20%3D%3D%20%22enter%22)%20%7Bpaypopup()%3B%7D%7Delse%7BsetupClick()%3Bif%20(usingObject)%20%7BtryObject()%3B%7D%7D%7D%20%0D%0Aif%20(usingObject)%20%7BsetupObject()%3B%7D%20%0D%0Aif%20(usingEditor)%20%7BstartObject()%3B%7D%20%0D%0A%0D%0A%7D%20%0D%0A%0D%0AloadingPop()%3B%20%0D%0A--%3E%20%0D%0A%3C%2FScript%3E">
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程