summaryrefslogtreecommitdiff
path: root/dev/data/manifest-variants.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-23 16:16:13 -0500
committerGitHub <noreply@github.com>2021-11-23 16:16:13 -0500
commitecc994a8bbd52a426434a549f8e3e68eba6e786e (patch)
tree9d8645373d0b9de9b4b0a790fe0b737fcc290131 /dev/data/manifest-variants.json
parentcedf6b25c4327d33411877dbb412877dfa7753e9 (diff)
ScriptManager updates (#2022)
* Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
Diffstat (limited to 'dev/data/manifest-variants.json')
-rw-r--r--dev/data/manifest-variants.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 86dbaecf..004cec01 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -98,7 +98,8 @@
],
"optional_permissions": [
"clipboardRead",
- "nativeMessaging"
+ "nativeMessaging",
+ "webNavigation"
],
"commands": {
"toggleTextScanning": {
@@ -172,6 +173,7 @@
"fileName": "yomichan-chrome-mv3.zip",
"modifications": [
{"action": "set", "path": ["manifest_version"], "value": 3},
+ {"action": "set", "path": ["minimum_chrome_version"], "value": "96.0.0.0"},
{"action": "move", "path": ["browser_action"], "newPath": ["action"]},
{"action": "delete", "path": ["background", "page"]},
{"action": "delete", "path": ["background", "persistent"]},
@@ -185,6 +187,7 @@
{"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": "remove", "path": ["optional_permissions"], "item": "webNavigation"},
{"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"]}