tor-browser

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

browser_base_force_refresh.html (666B)


      1 <!--
      2  Any copyright is dedicated to the Public Domain.
      3  http://creativecommons.org/publicdomain/zero/1.0/
      4 -->
      5 <!DOCTYPE HTML>
      6 <html>
      7 <head>
      8 </head>
      9 <body>
     10 <script type="text/javascript">
     11 addEventListener('load', function(event) {
     12  navigator.serviceWorker.register('force_refresh_browser_worker.js').then(function(swr) {
     13    if (!swr) {
     14      return;
     15    }
     16    window.dispatchEvent(new Event("base-register", { bubbles: true }));
     17  });
     18 
     19  navigator.serviceWorker.ready.then(function() {
     20    window.dispatchEvent(new Event("base-sw-ready", { bubbles: true }));
     21  });
     22 
     23  window.dispatchEvent(new Event("base-load", { bubbles: true }));
     24 });
     25 </script>
     26 </body>
     27 </html>