mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
29 lines
571 B
HTML
29 lines
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>
|