D
D
dollar2021-09-22 17:29:42
JavaScript
dollar, 2021-09-22 17:29:42

Is it possible to somehow use webRequestBlocking in unpacked extensions since manifest v3?

When adding webRequestBlocking to manifest v3, the extension fails to load and gives the following error:
'webRequestBlocking' requires manifest version of 2 or lower.

And if you do not add webRequestBlocking to permissions (but still add declarativeNetRequest), then the extension is loaded, but this error occurs during loading:
You do not have permission to use blocking webRequest listeners. Be sure to declare the webRequestBlocking permission in your manifest.

What is the right way to create extensions with blocking and redirection functionality now? And most importantly, how to test them when they are unpacked?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question