aboutsummaryrefslogtreecommitdiff
path: root/dev/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-18 17:18:00 -0500
committerGitHub <noreply@github.com>2020-12-18 17:18:00 -0500
commit2fa9b915159d0bc43687e032d5f7f53197ef0611 (patch)
tree9dfa01d93311704087493dcf458e126fe0f2288c /dev/data
parent05d4049f16715194842cf8cdf62345478288ee71 (diff)
Add support for using declarativeNetRequest (#1127)
Diffstat (limited to 'dev/data')
-rw-r--r--dev/data/manifest-variants.json4
1 files changed, 3 insertions, 1 deletions
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": "<all_urls>"},
+ {"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": ["<all_urls>"], "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": ["<all_urls>"]}], "after": "web_accessible_resources_old"},
{"action": "move", "path": ["web_accessible_resources_old"], "newPath": ["web_accessible_resources", 0, "resources"]}