-
Notifications
You must be signed in to change notification settings - Fork 23.2k
Extend example with "data_collection_permissions" field, which is now mandatory #43574
Copy link
Copy link
Open
Labels
Content:WebExtWebExtensions docsWebExtensions docs
Description
MDN URL
What specific section or headline is this issue about?
"Example" at the very top
What information was incorrect, unhelpful, or incomplete?
"browser_specific_settings": {
"gecko": {
"id": "@addon-example",
"strict_min_version": "58.0"
}
}
What did you expect to see?
"browser_specific_settings": {
"gecko": {
"id": "@addon-example",
"data_collection_permissions": { "required": ["none"] },
"strict_min_version": "140.0"
}
}
Alternatively, a more complex example could be presented with an "optional" key too.
But this is what most people will need.
I would also update the strict_min_version to 140 since data collection requires modern Firefox and 140 is the first ESR that supports it.
Do you have any supporting links, references, or citations?
https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/mozilla/add-ons/webextensions/manifest.json/browser_specific_settings - MDN URL: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/mozilla/add-ons/webextensions/manifest.json/browser_specific_settings/index.md
- Last commit: aa2535b
- Document last modified: 2026-02-06T17:53:07.000Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Content:WebExtWebExtensions docsWebExtensions docs