зеркало из https://github.com/mozilla/gecko-dev.git
29 строки
571 B
HTML
29 строки
571 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<base href="http://example.org" />
|
|
</head>
|
|
<body onload="load();">
|
|
Initial state
|
|
|
|
<script>
|
|
function load() {
|
|
// Nuke and rebuild the page.
|
|
document.removeChild(document.documentElement);
|
|
var html = document.createElement("html");
|
|
var body = document.createElement("body");
|
|
html.appendChild(body);
|
|
var link = document.createElement("a");
|
|
link.href = "#";
|
|
link.id = "link";
|
|
body.appendChild(link);
|
|
document.appendChild(html);
|
|
|
|
// Tell our parent to have a look at us.
|
|
parent.gGen.next();
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|