fix: firefox store release issue with data_collection_permissions

This commit is contained in:
Abhijith Vijayan [FLUXON] 2026-02-03 22:21:37 +05:30
parent c3c615d864
commit 7ebe49c9da
2 changed files with 13 additions and 23 deletions

View File

@ -51,9 +51,9 @@ This starter uses **Manifest V3** for all browsers.
| [![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png)](/) | [![Firefox](https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png)](/) | [![Opera](https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png)](/) | [![Edge](https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png)](/) | [![Brave](https://raw.githubusercontent.com/alrra/browser-logos/master/src/brave/brave_48x48.png)](/) |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| 88+ (Jan 2021) | 109+ (Jan 2023) | 74+ (Chromium-based) | 88+ (Chromium-based) | Latest (Chromium-based) |
| 88+ (Jan 2021) | 112+ (Apr 2023) | 74+ (Chromium-based) | 88+ (Chromium-based) | Latest (Chromium-based) |
> **Note**: Firefox 109+ is required for Manifest V3 support with ES modules in background scripts.
> **Note**: Firefox 112+ is required for Manifest V3 support with ES modules in background scripts.
>
> Need to support older Firefox versions? See [Firefox MV2 Guide](docs/FIREFOX_MV2.md) for using Manifest V2 with Firefox.

View File

@ -13,24 +13,15 @@
"homepage_url": "https://github.com/abhijithvijayan/web-extension-starter",
"short_name": "Sample Name",
"permissions": [
"activeTab",
"storage"
],
"permissions": ["activeTab", "storage"],
"optional_permissions": [],
"__chrome__host_permissions": [],
"__chrome__optional_host_permissions": [
"http://*/*",
"https://*/*"
],
"__chrome__optional_host_permissions": ["http://*/*", "https://*/*"],
"__firefox__optional_host_permissions": [
"http://*/*",
"https://*/*"
],
"__firefox__optional_host_permissions": ["http://*/*", "https://*/*"],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
@ -41,7 +32,11 @@
"__firefox__browser_specific_settings": {
"gecko": {
"id": "{754FB1AD-CC3B-4856-B6A0-7786F8CA9D17}",
"strict_min_version": "109.0"
"strict_min_version": "112.0",
"data_collection_permissions": {
"required": ["none"],
"optional": []
}
}
},
@ -74,14 +69,9 @@
"content_scripts": [
{
"run_at": "document_start",
"matches": [
"http://*/*",
"https://*/*"
],
"matches": ["http://*/*", "https://*/*"],
"css": [],
"js": [
"assets/js/contentScript.bundle.js"
]
"js": ["assets/js/contentScript.bundle.js"]
}
],
@ -91,4 +81,4 @@
"matches": ["http://*/*", "https://*/*"]
}
]
}
}