From bddf528b88c195f3efae084bc409cc2c202208c8 Mon Sep 17 00:00:00 2001 From: Ray Booysen Date: Tue, 17 Nov 2020 10:43:43 +0800 Subject: [PATCH] Tightens the permissions for which URLs the extension can access --- extension/src/browser/extension/manifest.json | 4 +++- extension/src/browser/firefox/manifest.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extension/src/browser/extension/manifest.json b/extension/src/browser/extension/manifest.json index 604e309d..c62ae5ab 100644 --- a/extension/src/browser/extension/manifest.json +++ b/extension/src/browser/extension/manifest.json @@ -65,7 +65,9 @@ "contextMenus", "tabs", "storage", - "" + "file:///*", + "http://*/*", + "https://*/*" ], "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;", "update_url": "https://clients2.google.com/service/update2/crx", diff --git a/extension/src/browser/firefox/manifest.json b/extension/src/browser/firefox/manifest.json index efbb1bb2..bceae8fc 100644 --- a/extension/src/browser/firefox/manifest.json +++ b/extension/src/browser/firefox/manifest.json @@ -59,7 +59,9 @@ "contextMenus", "tabs", "storage", - "" + "file:///*", + "http://*/*", + "https://*/*" ], "content_security_policy": "script-src 'self'; object-src 'self'; img-src 'self' data:;" }