зеркало из https://github.com/mozilla/pjs.git
17 строки
593 B
HTML
17 строки
593 B
HTML
<!DOCTYPE html><html><script>
|
|
|
|
function boom()
|
|
{
|
|
while (document.documentElement.firstChild)
|
|
document.documentElement.removeChild(document.documentElement.firstChild);
|
|
document.documentElement.contentEditable = "true";
|
|
document.execCommand("strikethrough", false, null);
|
|
try { document.execCommand("justifyfull", false, null); } catch(e) { }
|
|
document.documentElement.offsetHeight;
|
|
try { document.execCommand("delete", false, null); } catch(e) { }
|
|
document.execCommand("inserthtml", false, "<span> <\/span>");
|
|
}
|
|
window.addEventListener("load", boom, false);
|
|
|
|
</script></html>
|