mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
22 lines
400 B
HTML
22 lines
400 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
function addFrame(contents)
|
|
{
|
|
var frame = document.createElement("iframe");
|
|
frame.src = "data:text/html," + contents;
|
|
document.body.appendChild(frame);
|
|
}
|
|
function boom()
|
|
{
|
|
addFrame("1");
|
|
document.documentElement.offsetHeight;
|
|
addFrame("2");
|
|
document.body.style.display = "table-caption";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|