mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
22 lines
386 B
HTML
22 lines
386 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function f()
|
||
|
{
|
||
|
window.removeEventListener("pagehide", f, false);
|
||
|
var root = document.documentElement;
|
||
|
document.removeChild(root);
|
||
|
document.appendChild(root);
|
||
|
}
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
window.addEventListener("pagehide", f, false);
|
||
|
window.location = "data:text/html,4";
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|