-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Currently the webRequest and webRequestBlocking permission require a persistent background page. This seems to be an arbitrary limitation. The proposal is to allow these APIs under a non-persistent / SW API as well.
Use cases are using this API in extension popups, or in contentScripts. The background-page doesn't need to keep running in the background for this to be useful.
Edit 2022-09-01: Firefox currently allows loading extensions with thewebRequest
permission when persistent
is set to false
in mv2. In mv3, the persistent
key is unsupported.
Related: a proposal for adding support for the webRequest API in non-persistent background pages has been added to the chrome issue tracker by @Rob--W https://bugs.chromium.org/p/chromium/issues/detail?id=447270