Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html contentEditable="true">
<head>
<script type="text/javascript">
function boom()
{
var r = document.documentElement;
while(r.firstChild)
r.firstChild.remove();
document.execCommand("contentReadOnly", false, "");
document.documentElement.focus();
}
</script>
</head>
<body onload="boom();"></body>
</html>