зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
281 B
HTML
17 строки
281 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<script>
|
||
|
function boom()
|
||
|
{
|
||
|
var frameWin = document.getElementById("f").contentWindow;
|
||
|
Object.create(frameWin).self;
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom()">
|
||
|
<iframe id="f" src="data:text/html,3"></iframe>
|
||
|
</body>
|
||
|
</html>
|