mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +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>
|