summaryrefslogtreecommitdiff
path: root/dev/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-06-01 17:29:41 -0400
committerGitHub <noreply@github.com>2022-06-01 17:29:41 -0400
commite61edc387c1edeca1745c96d163a397b5bf1abdf (patch)
tree6de45bb35674e046dad6787ea8514b9e4a16c505 /dev/data
parentaa5e13b441da693441a27113169c2bf87f676d06 (diff)
More Safari support (#2171)
* Add support for not building a zip * Update gitignore * Add safari variant
Diffstat (limited to 'dev/data')
-rw-r--r--dev/data/manifest-variants.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 96b6d877..e9672cc0 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -306,6 +306,26 @@
"js/dom/simple-dom-parser.js",
"lib/parse5.js"
]
+ },
+ {
+ "name": "safari",
+ "fileName": null,
+ "modifications": [
+ {"action": "remove", "path": ["optional_permissions"], "item": "clipboardRead"},
+ {"action": "remove", "path": ["permissions"], "item": "webRequestBlocking"},
+ {"action": "delete", "path": ["content_scripts", 0, "match_about_blank"]},
+ {"action": "delete", "path": ["sandbox"]},
+ {
+ "action": "set",
+ "path": ["content_security_policy"],
+ "value": "default-src 'self'; script-src 'self' 'unsafe-eval'; img-src blob: 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
+ }
+ ],
+ "excludeFiles": [
+ "sw.js",
+ "js/dom/simple-dom-parser.js",
+ "lib/parse5.js"
+ ]
}
]
}