1 <html> 2 <script> 3 function openPopup() { 4 window.open("mshtml_refresh_test_popup.html","mypopup") 5 return false; 6 } 7 8 function onLoad() { 9 var request_id = $request_id$; 10 if (request_id != 0) { 11 location.href = "/quit?OK"; 12 } else { 13 window.setTimeout(openPopup, 100); 14 } 15 } 16 window.onload = onLoad; 17 </script> 18 <body> 19 <p>$UA$</p> 20 <a href="#" onclick="return openPopup();">Open popup</a> 21 </body> 22 </html> 23