mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
830 B
HTML
25 lines
830 B
HTML
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var t = 0;
|
|
function doe() {
|
|
setTimeout(function() {
|
|
if (t == 1) {
|
|
window.close();
|
|
window.opener.done();
|
|
}
|
|
else {
|
|
window.frames[0].location.reload();
|
|
t++;
|
|
}
|
|
}, 300);
|
|
}
|
|
</script>
|
|
|
|
<iframe src="data:application/xhtml+xml;charset=utf-8,%3Chtml%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%0A%3Ciframe%2F%3E%0A%3Cframeset%20onblur%3D%22window.frameElement.parentNode.removeChild(window.frameElement)%22%20id%3D%22frame%22%2F%3E%0A%0A%3Cscript%3E%0Afunction%20doe(i)%7B%0Adocument.getElementById('frame').focus()%3B%0Adocument.getElementsByTagName('*')%5B1%5D.focus()%3B%0A%7D%0Atop.opener.SimpleTest.waitForFocus(function%20()%20setTimeout(doe%2C%20100)%2C%20top)%3B%0A%3C%2Fscript%3E%0A%3C%2Fhtml%3E" onload="doe()" id="content"></iframe>
|
|
</body>
|
|
</html>
|
|
|