зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
375 B
HTML
17 строки
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>
|
|
|