mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-12 14:37:50 +00:00
17 lines
375 B
HTML
17 lines
375 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function boom()
|
||
|
{
|
||
|
var frameset = document.getElementsByTagName("frameset")[0]
|
||
|
var oldFrame = frameset.firstChild;
|
||
|
var newFrame = document.createElementNS("http://www.w3.org/1999/xhtml", "frame");
|
||
|
frameset.appendChild(newFrame);
|
||
|
frameset.removeChild(oldFrame);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<frameset onload="boom()"><frame></frame></frameset>
|
||
|
</html>
|
||
|
|