mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
27 lines
444 B
HTML
27 lines
444 B
HTML
<html>
|
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
function init()
|
|
{
|
|
document.addEventListener("DOMNodeRemoved", meep, false);
|
|
document.body.appendChild(document.getElementById("b"));
|
|
|
|
function meep()
|
|
{
|
|
document.removeEventListener("DOMNodeRemoved", meep, false);
|
|
document.body.removeChild(document.getElementById("c"));
|
|
}
|
|
}
|
|
|
|
window.addEventListener("load", init, false);
|
|
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body><div id="b"></div><div id="c"></div></body>
|
|
</html> |