5 lines
130 B
JavaScript
5 lines
130 B
JavaScript
onfetch = function (e) {
|
|
if (e.request.url.includes("intercept-this")) {
|
|
e.respondWith(new Response("intercepted"));
|
|
}
|
|
};
|