mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
27 lines
538 B
HTML
27 lines
538 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
|
||
|
|
||
|
document.documentElement.appendChild(frame);
|
||
|
var framedoc = frame.contentDocument;
|
||
|
document.documentElement.removeChild(frame);
|
||
|
|
||
|
framedoc.removeChild(framedoc.documentElement);
|
||
|
framedoc.appendChild(frame);
|
||
|
|
||
|
try { frame.appendChild(undefined); } catch(e) { }
|
||
|
|
||
|
document.removeChild(document.documentElement);
|
||
|
document.appendChild(frame);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|