1965081.html (500B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <iframe id="iframe" src="1965081-iframe.html"></iframe> 4 5 <script> 6 function takeSnapshot() { 7 document.documentElement.removeAttribute("class"); 8 } 9 10 var iframe = document.getElementById("iframe"); 11 let hasReloaded = false; 12 13 iframe.addEventListener("load", () => { 14 if (!hasReloaded) { 15 hasReloaded = true; 16 iframe.contentWindow.location.reload(); 17 } else { 18 setTimeout(takeSnapshot, 200); 19 } 20 }); 21 </script> 22 </html>