Source code

Revision control

Other Tools

Test Info:

<head>
<script type="text/javascript">
function boom() {
select = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
text = document.body.childNodes[0];
select.setAttribute("onDOMSubtreeModified", "text.parentNode.removeChild(text);");
select.appendChild(text);
}
</script>
</head>
<body onload="boom()">
</body>
</html>