blob: da011f54c812a778b5cb2e4f8eab3122bc83d4ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<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 srcdoc="<html xmlns='http://www.w3.org/1999/xhtml'>
<iframe/>
<frameset onblur='window.frameElement.parentNode.removeChild(window.frameElement)' id='frame'/>
<script>
function doe(i){
document.getElementById('frame').focus();
document.getElementsByTagName('*')[1].focus();
}
top.opener.SimpleTest.waitForFocus(function () setTimeout(doe, 100), top);
</script>
</html>" onload="doe()" id="content"></iframe>
</body>
</html>
|