tor-browser

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

iframe_sync_xhr_unload.html (314B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <body>
      4  <script type="application/javascript">
      5 
      6 function o() {
      7 var xhr = new XMLHttpRequest();
      8 xhr.open("GET", "sync_xhr_unload.sjs", false);
      9 try { xhr.send(); } catch(e) {}
     10 }
     11 
     12 window.addEventListener("beforeunload", o);
     13 window.addEventListener("unload", o)
     14 
     15  </script>
     16 </body>
     17 </html>