From a06ee30b6b01cfaee3ea8d7d2329892a6c6420bd Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Tue, 13 Oct 2020 16:28:43 +0200 Subject: [PATCH] manifest: Use browser_specific_settings for Firefox/Chrome compatibility Since Firefox 48, it's possible to use browser_specific_settings instead of applications. This way, the manifest works without modification across most browsers. It's also the correct key according to webextensions draft: https://browserext.github.io/browserext/#dfn-browserspecificsettings --- manifest.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 6c09905..d083621 100644 --- a/manifest.json +++ b/manifest.json @@ -29,14 +29,11 @@ "permissions": [ "activeTab", "storage" - ]/* "applications" key is required by Firefox, but not accepted by Chrome, - * remove this comment when releasing for Firefox - , - "applications": { + ], + "browser_specific_settings": { "gecko": { "id": "autt@ericgoldman.name", "strict_min_version": "60.0" } } - */ } \ No newline at end of file