tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

file_test_background_loading_iframes.html (362B)


      1 <html>
      2  <body>
      3  <script>
      4    var onloadFiredAt;
      5 
      6    let start = performance.now();
      7    while (performance.now() - start < 5000);
      8 
      9    window.onload = function() {
     10      onloadFiredAt = performance.now();
     11    }
     12 
     13    window.addEventListener('message', function(event) {
     14      window.parent.postMessage(onloadFiredAt, "*");
     15    })
     16 
     17  </script>
     18  </body>
     19 </html>