497633.html (701B)
1 <html> 2 <head> 3 </head> 4 <body> 5 <script> 6 var t = 0; 7 function doe() { 8 setTimeout(function() { 9 if (t == 1) { 10 window.close(); 11 window.opener.done(); 12 } 13 else { 14 window.frames[0].location.reload(); 15 t++; 16 } 17 }, 300); 18 } 19 </script> 20 21 <iframe srcdoc="<html xmlns='http://www.w3.org/1999/xhtml'> 22 <iframe/> 23 <frameset onblur='window.frameElement.parentNode.removeChild(window.frameElement)' id='frame'/> 24 25 <script> 26 function doe(i){ 27 document.getElementById('frame').focus(); 28 document.getElementsByTagName('*')[1].focus(); 29 } 30 top.opener.SimpleTest.waitForFocus(function () setTimeout(doe, 100), top); 31 </script> 32 </html>" onload="doe()" id="content"></iframe> 33 </body> 34 </html>