Does the webRequest and webRequestBlocking permission trigger a warning / user prompt?

46 views
Skip to first unread message

Red ross

unread,
Jan 31, 2023, 12:06:01 PM1/31/23
to Chromium Extensions
I was looking at the docs around this and it looks like both webRequest and webRequestBlocking are not warning permissions going by this.

If an extension on MV2 adds these new permissions to the manifest, would it be disabled for existing users?

I've noticed that if we simply add them as optional and call chrome.permissions.request with the 2 permissions, these are granted without a user prompt as well. Is that simply due to the extension being loaded as an unpacked extension?

Stefan Van Damme

unread,
Jan 31, 2023, 2:24:02 PM1/31/23
to Chromium Extensions, Red ross
Hi Red ross,

The "webRequest" and "webRequestAuthProvider" permissions should not normally show a warning message. I ran the test on a clean Chrome extension and with only those permissions. I see here no message on my Chrome 109.0.5414.119.

Thanks,
Stefan vd

Reply all
Reply to author
Forward
0 new messages