tor-browser

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

unload-bubbles.html (483B)


      1 <!doctype html>
      2 <html>
      3 <head><title>Document</title></head>
      4 <body>
      5 <h1>Document</h1>
      6 <script>
      7 window.addEventListener("load", function() {
      8  window.addEventListener("visibilitychange", event => {
      9    opener.postMessage({
     10                        target: event.target.nodeName,
     11                        state: document.visibilityState,
     12                        bubbles: event.bubbles
     13                      }, "*");
     14  });
     15  opener.postMessage("close", "*");
     16 });
     17 </script>
     18 </body>
     19 </html>