1 2 3 4 5
onfetch = function (e) { if (e.request.url.includes("intercept-this")) { e.respondWith(new Response("intercepted")); } };