aboutsummaryrefslogtreecommitdiff
path: root/webextension/manifest.json
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-01 14:16:56 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-01 14:16:56 +0530
commit609397d95a73bdae55de41c47b19932e810d0320 (patch)
tree34fb9168eb25567c2d14daa5f69301d6932d58c1 /webextension/manifest.json
parent3f52d293be88f19e8e68aaa8ee6a80cd6c7cc47a (diff)
downloadwallet-core-609397d95a73bdae55de41c47b19932e810d0320.tar.xz
drastically reduce permissions for Web integration
The old web integration with more permissions is still available on an opt-in basis.
Diffstat (limited to 'webextension/manifest.json')
-rw-r--r--webextension/manifest.json14
1 files changed, 4 insertions, 10 deletions
diff --git a/webextension/manifest.json b/webextension/manifest.json
index 5bcb8c060..7592b3509 100644
--- a/webextension/manifest.json
+++ b/webextension/manifest.json
@@ -24,6 +24,10 @@
"permissions": [
"storage",
+ "activeTab"
+ ],
+
+ "optional_permissions": [
"tabs",
"webRequest",
"webRequestBlocking",
@@ -39,16 +43,6 @@
"default_popup": "popup.html"
},
- "content_scripts": [
- {
- "matches": ["*://*/*"],
- "js": [
- "contentScript.js"
- ],
- "run_at": "document_start"
- }
- ],
-
"background": {
"page": "background.html",
"persistent": true