mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|