-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
64 lines (64 loc) · 2.13 KB
/
Copy pathmanifest.json
File metadata and controls
64 lines (64 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"manifest_version": 3,
"name": "AnimeVocab: Learn Japanese from Anime — Netflix, Crunchyroll & YouTube",
"short_name": "AnimeVocab",
"version": "0.5.4",
"description": "Learn Japanese from the anime you watch, even before you can read it — one word per line, in romaji, with spaced repetition.",
"permissions": ["storage", "tabCapture", "offscreen", "scripting", "alarms", "webNavigation"],
"host_permissions": [
"*://*.youtube.com/*",
"*://*.netflix.com/*",
"*://*.crunchyroll.com/*",
"https://api.openai.com/*",
"https://api.animevocab.com/*",
"https://animevocab.com/*"
],
"icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "48": "icons/icon48.png", "128": "icons/icon128.png" },
"background": { "service_worker": "background.js" },
"action": {
"default_popup": "popup/popup.html",
"default_title": "AnimeVocab",
"default_icon": { "16": "icons/icon16.png", "32": "icons/icon32.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }
},
"options_page": "options/options.html",
"content_scripts": [
{
"matches": ["*://*.youtube.com/*", "*://*.netflix.com/*"],
"js": ["vendor/kuromoji.js", "content.js"],
"run_at": "document_idle",
"all_frames": false
},
{
"matches": ["*://*.crunchyroll.com/*"],
"js": ["vendor/kuromoji.js", "content.js"],
"run_at": "document_idle",
"all_frames": true
},
{
"matches": ["*://*.youtube.com/*"],
"js": ["page/youtube-main.js"],
"run_at": "document_idle",
"all_frames": false,
"world": "MAIN"
},
{
"matches": ["*://*.netflix.com/*"],
"js": ["page/netflix-main.js"],
"run_at": "document_idle",
"all_frames": false,
"world": "MAIN"
},
{
"matches": ["https://animevocab.com/*", "https://www.animevocab.com/*"],
"js": ["sync-bridge.js"],
"run_at": "document_idle",
"all_frames": false
}
],
"web_accessible_resources": [
{
"resources": ["kuromoji/dict/*", "data/dictionary.json"],
"matches": ["*://*.youtube.com/*", "*://*.netflix.com/*", "*://*.crunchyroll.com/*"]
}
]
}