summaryrefslogtreecommitdiff
path: root/ext/manifest.json
diff options
context:
space:
mode:
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",