aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-04-11 17:17:04 -0300
committerSebastian <sebasjm@gmail.com>2022-04-11 17:17:04 -0300
commit1ae4a44a3a835cbf19ae4e885f0ca97eb10279b3 (patch)
treebb685a1a899ff1af2f7fa6eb2e64b69d472fda83
parentdf81496b5755bfe071ce2212ed300bf127af0b8a (diff)
remove asking about webRequestBlocking
-rw-r--r--packages/taler-wallet-webextension/manifest-v2.json3
-rw-r--r--packages/taler-wallet-webextension/src/permissions.ts2
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/manifest-v2.json b/packages/taler-wallet-webextension/manifest-v2.json
index b3e2bc57c..8f705d197 100644
--- a/packages/taler-wallet-webextension/manifest-v2.json
+++ b/packages/taler-wallet-webextension/manifest-v2.json
@@ -23,7 +23,6 @@
],
"optional_permissions": [
"webRequest",
- "webRequestBlocking",
"http://*/*",
"https://*/*"
],
@@ -38,4 +37,4 @@
"page": "static/background.html",
"persistent": true
}
-}
+} \ No newline at end of file
diff --git a/packages/taler-wallet-webextension/src/permissions.ts b/packages/taler-wallet-webextension/src/permissions.ts
index cc3c2d643..ea7142448 100644
--- a/packages/taler-wallet-webextension/src/permissions.ts
+++ b/packages/taler-wallet-webextension/src/permissions.ts
@@ -15,7 +15,7 @@
*/
const perms = {
- permissions: ["webRequest", "webRequestBlocking"],
+ permissions: ["webRequest"],
origins: ["http://*/*", "https://*/*"],
}
export const getReadRequestPermissions = (): typeof perms => perms \ No newline at end of file