tor-browser

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

sw_intercept_target.js (155B)


      1 "use strict";
      2 
      3 onfetch = function (event) {
      4  if (event.request.url.indexOf("target.txt") != -1) {
      5    event.respondWith(fetch("intercepted.txt"));
      6  }
      7 };