mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
15 lines
398 B
HTML
15 lines
398 B
HTML
|
<!doctype html>
|
||
|
<body> <span></span> <script>
|
||
|
function boom() {
|
||
|
var range = document.createRange();
|
||
|
range.setEnd(document.body.childNodes[2], 0);
|
||
|
window.addEventListener("DOMNodeInserted", f, true);
|
||
|
function f() {
|
||
|
window.removeEventListener("DOMNodeInserted", f, true);
|
||
|
range.deleteContents();
|
||
|
}
|
||
|
range.deleteContents();
|
||
|
}
|
||
|
window.addEventListener("load", boom, false);
|
||
|
</script>
|