mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
20 lines
340 B
HTML
20 lines
340 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
|
|
document.body.appendChild(frame);
|
|
var frameScreen = frame.contentWindow.screen;
|
|
document.body.removeChild(frame);
|
|
frameScreen.top;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();"></body>
|
|
</html>
|