mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
24 lines
366 B
HTML
24 lines
366 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
function removeRoot() {
|
||
|
window.removeEventListener("DOMNodeRemoved", removeRoot, true);
|
||
|
document.open();
|
||
|
}
|
||
|
|
||
|
window.addEventListener("DOMNodeRemoved", removeRoot, true);
|
||
|
|
||
|
var r = document.documentElement;
|
||
|
document.removeChild(r);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|