Chrome Extension Permissions: Request Less, Explain More
Excess permissions cause rejections, long reviews and uninstalls at the permission prompt. How to choose the narrowest permissions, use activeTab and optional permissions, test warnings, and explain what you ask for.
Real Tester team · · 5 min read

Permissions are the one part of an extension that two different audiences read closely. Reviewers check each one against a feature. Users read the warning dialog and decide, in a few seconds, whether you are trustworthy. An extension that asks for more than it needs fails with both: it is rejected as Purple Potassium, or installed by fewer people.
This post is about asking for the minimum, choosing the right permission when several would work, and making the remaining requests understandable.
Why permissions matter for review
Chrome's Use of Permissions policy has two key sentences. Request access to the narrowest permissions necessary to implement your features, and if more than one permission could do the job, request the one with the least access. And do not "future proof" by requesting a permission for features that do not exist yet.
The review documentation adds consequences. Reviews can take longer for extensions with broad host permissions (patterns like *://*/*, https://*/* and <all_urls>) or sensitive permissions such as tabs, downloads, cookies and webRequest, because the reviewer must check each one is necessary and used properly. For a new developer, a slower review is a slower launch.
The violation itself, Purple Potassium, appears for two reasons: the extension requests a permission but does not use it, or requests one that is not required for the functionality it provides. The fix is to remove unused entries from permissions, optional_permissions and host_permissions, and use the narrowest alternative for the rest.
Four permissions people get wrong
Chrome's troubleshooting page singles these out as commonly misunderstood.
activeTab
activeTab grants temporary access to a tab after the user invokes the extension, for example by clicking the icon or using a shortcut. It does not give passive access to whatever tab is focused.
It is not needed when you already have host permissions for the relevant sites, when you use methods of the action API, when you use tabs.sendMessage, or for basic uses of tabs.query such as getting the current tab.
Importantly, activeTab does not display a permission warning, which is why it is the best option when a feature runs only on user action.
tabs
The tabs permission only grants access to the url, pendingUrl, title and favIconUrl properties of tab objects. It is not needed to call methods on the tabs API. It is needed when you lack host access but must read the URL or title of arbitrary tabs. If you have broad host permissions, you do not need it.
cookies
Needed for the chrome.cookies API from the background context or another extension page. Not needed for document.cookie or the Cookie Store API.
storage
Needed for chrome.storage. Not needed for Web Storage (localStorage, sessionStorage) or IndexedDB.
A quick audit: search your code for each API, and for any permission with no matching call, ask whether it is leftover from an earlier version. Check packed builds too, since bundlers can pull in code that calls things you never use directly.
Narrow the hosts
Host permissions are where extensions most often ask for too much.
- List the domains your feature actually works on instead of
<all_urls>. - Use
activeTabif the feature starts from a user click. - Use optional host permissions when the user chooses which sites to enable, and request access to that site when they do it.
- Use
matchesin content scripts that are specific, not catch-all patterns.
Whenever the code can do its job from a narrower grant, use that one. It shortens your warning dialog and review.
Optional permissions: ask when it makes sense
Chrome's guidance on permission warnings recommends requesting permissions at runtime to improve onboarding. It lets you explain a permission in context, and lets users decide which features to turn on.
A pattern that works:
- Install with the minimal set, ideally nothing that triggers a warning.
- When the user clicks a feature that needs more, show your own short explanation: what you will access and why.
- Call
permissions.request()from that click. - If they decline, the rest of the extension keeps working and the feature explains how to enable it later.
You must test the decline path. An extension that breaks when a request is refused is no better than one that asked for everything up front.
What the user sees: warnings
Some permissions show warnings in the install dialog, and some do not. activeTab shows none, and tabs does not show its own warning when the extension has <all_urls>. The permissions list in Chrome's reference tells you which entries warn.
Two things to check before every release:
- The install dialog. Pack the extension and drag the
.crxontochrome://extensionsto see the real warnings, or use Chrome's Extension Update Testing Tool. Read them as a user: do they match the story in your listing? - The update dialog. If a new version adds a permission that triggers a warning, Chrome disables the extension until the user accepts it. Test that exact path with the update tool or by repacking with the same
.pemkey. Plan the release: put it behind an optional permission if you can, and tell users beforehand in your listing or a notification.
Explain what you ask for
Even minimal permissions raise questions. Answer them where users look:
- Listing description: one short paragraph, "What this extension accesses and why".
- Privacy tab: the dashboard asks you to justify permissions and to declare data use. Be specific and consistent with the code.
- Privacy policy: if you handle user data, link a working policy in the designated field. Missing or irrelevant policies trigger Purple Lithium.
- First-run text: where a permission prompt will appear, tell users before it does.
- Disclosure and consent: if you collect data beyond what the feature obviously needs, you must disclose it prominently and obtain consent before collection (Purple Nickel). Collecting web browsing activity is limited to what a user-facing feature requires (Purple Magnesium).
Keep the wording honest and plain. "We read the page you are on when you click the icon, to extract its headings" beats "Required for functionality".
A permissions review you can run in an hour
- List every entry in the manifest.
- For each, point to the user-visible feature that needs it. If you cannot, remove it.
- Replace broad grants with narrower ones:
activeTab, specific hosts, optional permissions. - Pack the build and read the install dialog.
- Test the update dialog if a warning permission was added.
- Test declining each optional permission.
- Make the listing, the Privacy tab and the policy say the same thing as the code.
Then have someone else go through installation and read the prompts without help. If the person says "why does it need that?" you found the question reviewers and users will ask, and you can answer it in the listing before they do. A full pass over the rest of the extension is in the pre-submission checklist, and the violation guide explains the other IDs.
Sources
- Chrome for Developers, Troubleshooting violations: excessive permissions
- Chrome for Developers, Permission warnings
- Chrome for Developers, Chrome Web Store review process


