Source code

Revision control

Other Tools

Test Info:

<!doctype html>
<script>
function boom() {
var r = document.documentElement;
while (r.firstChild) {
r.firstChild.remove();
}
document.documentElement.contentEditable = "true";
document.documentElement.appendChild(document.createElement("span"));
document.documentElement.firstChild.appendChild(document.createTextNode("_"));
document.execCommand("forwarddelete");
}
</script>
<body onload="boom()">