aboutsummaryrefslogtreecommitdiff
path: root/ext/manifest.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-08-07 12:40:51 -0400
committerGitHub <noreply@github.com>2021-08-07 12:40:51 -0400
commit5d4141a429dad23d78238f67ef61baabd251e67c (patch)
tree7e9875b3fb576d714204bb42e9c9ce862ec3c0a0 /ext/manifest.json
parentad31b70b67be6a8a3d53769dacc748aa850330bc (diff)
Google Docs accessibility (#1875)
* Add accessibility option for forcing Google Docs HTML-based rendering * Update settings * Send a documentStart message at document start * Add accessibility script for Google Docs * Set up accessibility * Update tests
Diffstat (limited to 'ext/manifest.json')
-rw-r--r--ext/manifest.json16
1 files changed, 15 insertions, 1 deletions
diff --git a/ext/manifest.json b/ext/manifest.json
index dd0f31c9..35f7b18e 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -32,11 +32,14 @@
},
"content_scripts": [
{
+ "run_at": "document_idle",
"matches": [
"http://*/*",
"https://*/*",
"file://*/*"
],
+ "match_about_blank": true,
+ "all_frames": true,
"js": [
"js/core.js",
"js/yomichan.js",
@@ -58,9 +61,20 @@
"js/language/text-scanner.js",
"js/script/dynamic-loader.js",
"js/app/content-script-main.js"
+ ]
+ },
+ {
+ "run_at": "document_start",
+ "matches": [
+ "http://*/*",
+ "https://*/*",
+ "file://*/*"
],
"match_about_blank": true,
- "all_frames": true
+ "all_frames": true,
+ "js": [
+ "js/document-start.js"
+ ]
}
],
"minimum_chrome_version": "57.0.0.0",