When using webrequest api with event page, get the error :
The \'webRequest\' API cannot be used with event pages.
Looking on t
For those who don't want to use the new Event Pages and would prefer to stick with Background Pages, make sure to set "persistent": true
in your manifest file's background
property.
"background": {
"scripts": ["bootstrap.js"],
"persistent": true
},
Found declarativeWebRequest API, that would be the solution.
Avalaible now in dev and beta channels.