From c54461a97edd8d06329a3329190b18f68a1cac50 Mon Sep 17 00:00:00 2001 From: praschke Date: Wed, 25 Oct 2023 10:48:11 +0100 Subject: fix: reinstate webRequest and correct the permissions docs `webRequest` is used on Chrome/MV3 to surface error information from failed requests. it was added back to the declarative path by toasted-nutbread in FooSoft/yomichan#2161, but the permissions documentation did not reflect `webRequests` continued necessity. --- dev/data/manifest-variants.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'dev/data') diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json index 07c98b91..83140ec4 100644 --- a/dev/data/manifest-variants.json +++ b/dev/data/manifest-variants.json @@ -81,6 +81,7 @@ "clipboardWrite", "unlimitedStorage", "declarativeNetRequest", + "webRequest", "scripting", "offscreen" ], @@ -248,15 +249,6 @@ "nativeMessaging" ] }, - { - "action": "add", - "path": [ - "permissions" - ], - "items": [ - "webRequest" - ] - }, { "action": "add", "path": [ -- cgit v1.2.3 From d1dda1b1d0861b78a633149af3789b2ec0668693 Mon Sep 17 00:00:00 2001 From: praschke Date: Mon, 23 Oct 2023 10:53:45 +0100 Subject: exclude offscreen document files from firefox --- dev/data/manifest-variants.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dev/data') diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json index 83140ec4..c9e7cd03 100644 --- a/dev/data/manifest-variants.json +++ b/dev/data/manifest-variants.json @@ -275,6 +275,9 @@ ], "excludeFiles": [ "sw.js", + "offscreen.html", + "js/background/offscreen.js", + "js/background/offscreen-main.js", "js/dom/simple-dom-parser.js", "lib/parse5.js" ] @@ -323,6 +326,9 @@ ], "excludeFiles": [ "sw.js", + "offscreen.html", + "js/background/offscreen.js", + "js/background/offscreen-main.js", "js/dom/simple-dom-parser.js", "lib/parse5.js" ] -- cgit v1.2.3