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