зеркало из https://github.com/mozilla/gecko-dev.git
19 строки
306 B
HTML
19 строки
306 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script type="text/javascript">
|
|
<![CDATA[
|
|
|
|
function boom()
|
|
{
|
|
document.body.setAttribute("contenteditable", "true");
|
|
document.execCommand("selectAll", false, null);
|
|
}
|
|
|
|
]]>
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"><textarea></textarea></body>
|
|
|
|
</html>
|