tor-browser

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

focus-before-iframe-loaded-same-site-inner.html (330B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>focus() before iframe loaded same site</title>
      6 </head>
      7 <body>
      8 <script>
      9    window.onload = function() {
     10        parent.postMessage("onload", "*");
     11    }
     12    document.body.onfocus = function() {
     13        parent.postMessage("onfocus", "*");
     14    }
     15 </script>
     16 </body>
     17 </html>