Update
This commit is contained in:
parent
b00889ffc8
commit
a6d69e3445
13 changed files with 50 additions and 18 deletions
|
@ -29,4 +29,33 @@ function nuke() { document.body.innerHTML = "<p>disable JavaScript to view this
|
|||
</html>
|
||||
```
|
||||
|
||||
{ NOTE: Remember that normally breaking compatibility on purpose is probably bad, it shouldn't be done seriously (don't waste effort on breaking something, rather make something nice, also censorship is always bad), but it's a nice [troll](troll.md) :D Don't forget to have fun sometimes. ~drummyfish }
|
||||
{ NOTE: Remember that normally breaking compatibility on purpose is probably bad, it shouldn't be done seriously (don't waste effort on breaking something, rather make something nice, also censorship is always bad), but it's a nice [troll](troll.md) :D Don't forget to have fun sometimes. ~drummyfish }
|
||||
|
||||
Or this will give an epileptic seizures seizure to everyone who has Javascript on:
|
||||
|
||||
```
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
alert("Turn off Javascript to make it stop.");
|
||||
|
||||
var count = 0;
|
||||
|
||||
function go()
|
||||
{
|
||||
count += 1;
|
||||
document.body.style.backgroundColor = (count % 2) ? "red" : "blue";
|
||||
document.body.style.color = (count % 2) ? "green" : "yellow";
|
||||
document.body.style["font-size"] = (count % 64).toString() + "px";
|
||||
setTimeout(go,10);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="go()">
|
||||
<h1> My awesome page </h1>
|
||||
<p> My awesome page text :) </p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue