tor-browser

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

WorkerFetchURL.js (197B)


      1 onconnect = e => {
      2  let port = e.ports[0];
      3  port.onmessage = (e) => {
      4    fetch(e.data)
      5    .then(response => response.text())
      6    .then(text => port.postMessage('Worker reply:' + text));
      7  };
      8 }