The declarativeNetRequest permission
Yes, declarativeNetRequest shows a warning. In Chrome 158.0.8127.88 users see “Block content on any page”. If you add declarativeNetRequest to permissions in an update, Chrome disables the extension for every existing user until they click “Re-enable”, unless your current version already has a permission that shows the same warning.
What it is for
Blocks or modifies network requests with declarative rules (chrome.declarativeNetRequest), the Manifest V3 way to build content blockers. Chrome’s permissions list.
Install warning
| Manifest | Warning Chrome shows |
|---|---|
| "permissions": ["declarativeNetRequest"] | Block content on any page |
Adding it in an update
Chrome compares warnings, not permission names. The update is silent only if your current version already makes Chrome show this warning.
Already covered if your current version has any of:
<all_urls>(Chrome then shows only “Read and change all your data on all websites”)
How to add it without disabling the extension
declarativeNetRequest is one of the few permissions that cannot be declared in optional_permissions. Your options are to accept that existing users must re-enable the extension (announce it in the release notes and the extension’s UI), or to ship the feature as a separate extension.
Test your exact update
Warnings interact, and your manifest has more than one permission. Paste your current and new manifest.json (or your Chrome Web Store link) and we run the real update in Chrome 158.0.8127.88.
See all permission warnings or read why Chrome disables updates.