I am writing a browser extension which injects code to replace the page at a certain url.
However, this site has a service worker, which intercepts all the fetch/xhr requests made by my replacement page.
Is there a way for an extension to forcibly disable service workers for a specific tab/url, or to bypass them when making requests?
(I know you can call .unreigster(), but it seems like the service worker can just ignore this, and another tab could register a service worker at any time anyway.)