mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2026-03-20 01:37:46 +01:00
fix: firefox store release issue with data_collection_permissions
This commit is contained in:
parent
c3c615d864
commit
7ebe49c9da
@ -51,9 +51,9 @@ This starter uses **Manifest V3** for all browsers.
|
||||
|
||||
| [](/) | [](/) | [](/) | [](/) | [](/) |
|
||||
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||
| 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.
|
||||
|
||||
|
||||
@ -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://*/*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user