tor-browser

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

service_worker.js (268B)


      1 onmessage = function (e) {
      2  self.clients.matchAll().then(function (res) {
      3    if (!res.length) {
      4      dump("Error: no clients are currently controlled.\n");
      5      return;
      6    }
      7    res[0].postMessage(indexedDB ? { available: true } : { available: false });
      8  });
      9 };