зеркало из https://github.com/mozilla/pjs.git
25 строки
501 B
HTML
25 строки
501 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var t = document.getElementById("f").contentDocument.documentElement;
|
|
t.contentEditable = "true";
|
|
t.focus();
|
|
document.body.appendChild(t);
|
|
setTimeout(finish, 0);
|
|
}
|
|
|
|
function finish()
|
|
{
|
|
document.documentElement.className = "";
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="setTimeout(boom, 200);"><iframe id="f" src="data:application/xhtml+xml,<html xmlns='http://www.w3.org/1999/xhtml'></html>"></iframe></body>
|
|
</html>
|