blob: 14bf2d3a9ee82f9683f7c5737d8d51590ce89421 [file] [log] [blame]
<script>
var count = 0;
function handleBeforeLoad() {
if (++count != 2)
return;
var newElement = document.createElement("div");
document.body.appendChild(newElement);
parent.document.getElementById("displaynoneme").style.display = "none";
newElement.offsetWidth;
}
function documentLoaded() {
var o = document.createElement("object");
o.addEventListener("beforeload", handleBeforeLoad, false);
document.body.appendChild(o);
}
</script>
<body onload="documentLoaded();"></body>