diff --git a/README.md b/README.md index 76453f2..6b22612 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/source/manifest.json b/source/manifest.json index b7684e4..19d1a28 100644 --- a/source/manifest.json +++ b/source/manifest.json @@ -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://*/*"] } ] -} \ No newline at end of file +}