зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
397 B
HTML
24 строки
397 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
document.addEventListener("DOMNodeInserted", x);
|
|
|
|
function x()
|
|
{
|
|
document.removeEventListener("DOMNodeInserted", x);
|
|
document.execCommand("insertParagraph", false, "");
|
|
}
|
|
|
|
document.execCommand("insertorderedlist", false, "");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body contenteditable="true" onload="boom()"></body>
|
|
|
|
</html>
|