зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
247 B
HTML
17 строки
247 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var sel = window.getSelection('');
|
||
|
sel.collapse(document.createTextNode("x"), 0);
|
||
|
sel.extend(document.documentElement, 0);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|