From 9ef58d645b36d3fdffd63d8e4dbd2552dd62f58a Mon Sep 17 00:00:00 2001 From: rugk Date: Mon, 17 Dec 2018 16:41:04 +0100 Subject: [PATCH] Add http:// permission It makes no difference to the user whether to intercept only-HTTPS or also HTTP sites. Actually HTTP sites get rare and uninteresting, so the impact of this change is low. This prevents that the user may be needed to be asked for permissions again in future updates. --- scripts/manifests/dev.json | 1 + scripts/manifests/firefox.json | 3 ++- src/manifest.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/manifests/dev.json b/scripts/manifests/dev.json index e6c8b6b..ae0a3e8 100644 --- a/scripts/manifests/dev.json +++ b/scripts/manifests/dev.json @@ -30,6 +30,7 @@ "permissions": [ "storage", "webRequest", + "http://*/*", "https://*/*" ], diff --git a/scripts/manifests/firefox.json b/scripts/manifests/firefox.json index dc66cbd..7abbc80 100644 --- a/scripts/manifests/firefox.json +++ b/scripts/manifests/firefox.json @@ -28,7 +28,8 @@ "permissions": [ "storage", - "webRequest", + "webRequest",, + "http://*/*" "https://*/*" ], diff --git a/src/manifest.json b/src/manifest.json index de0a907..ae0a3e8 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -8,7 +8,7 @@ "description": "__MSG_extensionDescription__", "homepage_url": "https://github.com/rugk/mastodon-simplified-federation", - // testing version allows loading unit test libraries from CDNs + // testing version allows loading unit test libraries from CDNs "content_security_policy": "default-src 'self'; connect-src https:; style-src 'self' https://unpkg.com; script-src 'self' https://unpkg.com", "icons": { "16": "icons/icon.svg",