2007-12-14 07:40:08 +03:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
var de;
|
|
|
|
|
|
|
|
function boom()
|
|
|
|
{
|
|
|
|
de = document.documentElement;
|
2017-01-17 13:50:25 +03:00
|
|
|
document.addEventListener("DOMNodeRemoved", f);
|
2007-12-14 07:40:08 +03:00
|
|
|
|
|
|
|
function f()
|
|
|
|
{
|
2017-01-17 13:50:25 +03:00
|
|
|
document.removeEventListener("DOMNodeRemoved", f);
|
2007-12-14 07:40:08 +03:00
|
|
|
de.appendChild(document.createElement("body"));
|
|
|
|
}
|
|
|
|
|
|
|
|
document.removeChild(de);
|
|
|
|
|
|
|
|
setTimeout(cont, 30);
|
|
|
|
}
|
|
|
|
|
|
|
|
function cont()
|
|
|
|
{
|
|
|
|
document.appendChild(de);
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body onload="setTimeout(boom, 30);">
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|