From 2fa9b915159d0bc43687e032d5f7f53197ef0611 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 18 Dec 2020 17:18:00 -0500 Subject: Add support for using declarativeNetRequest (#1127) --- dev/data/manifest-variants.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev/data') diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json index 75911771..64271327 100644 --- a/dev/data/manifest-variants.json +++ b/dev/data/manifest-variants.json @@ -154,8 +154,10 @@ {"action": "move", "path": ["content_security_policy_old"], "newPath": ["content_security_policy", "extension_pages"]}, {"action": "move", "path": ["sandbox", "content_security_policy"], "newPath": ["content_security_policy", "sandbox"]}, {"action": "remove", "path": ["permissions"], "item": ""}, + {"action": "remove", "path": ["permissions"], "item": "webRequest"}, + {"action": "remove", "path": ["permissions"], "item": "webRequestBlocking"}, + {"action": "add", "path": ["permissions"], "items": ["declarativeNetRequest", "scripting"]}, {"action": "set", "path": ["host_permissions"], "value": [""], "after": "optional_permissions"}, - {"action": "add", "path": ["permissions"], "items": ["scripting"]}, {"action": "move", "path": ["web_accessible_resources"], "newPath": ["web_accessible_resources_old"]}, {"action": "set", "path": ["web_accessible_resources"], "value": [{"resources": [], "matches": [""]}], "after": "web_accessible_resources_old"}, {"action": "move", "path": ["web_accessible_resources_old"], "newPath": ["web_accessible_resources", 0, "resources"]} -- cgit v1.2.3