-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
61 lines (61 loc) · 1.69 KB
/
manifest.json
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
{
"name": "Hanzō",
"version": "192.168.0.1",
"description": "Cuts Hanzi/Hanja/Kanji compounds into primitives & translates Youtube™ subtitles word-by-word.",
"options_page": "opt.htm",
"background": {
//"scripts": [ "message.js","kanjidic2.js","bg.js" ]
"service_worker": "bg.js"
},
//"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4r/pUHVPYQTn7vu3YHT52I0SKM15OBOTi0Jii4q5Koxd3Gdc/WXdqC2YgMA25J5PRiSubu/nHFf12Ubp3OZyNqB3j45ZscQ+tH1bwcV+cqdvv/Ik6VQaS6/qLmenLdFPKOCg/g1L1iKZu6Jjny6GlovpBj+7gjWQZBIoGBd70HQIDAQAB",
"manifest_version": 3,
"content_scripts": [
{
"matches": [ "*://*.youtube.com/*" ],
"js": [ "doc_end.js","message.js","yt.js"],
"run_at": "document_end"
},
{
"matches": [ "*://*.youtube.com/*" ],
"js": [ "doc_start.js","prims-basic.js","prims-alt.js"],
"css": [ "font.css"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": ["/yt.css"],
"matches": ["*://*.youtube.com/*"]
}
// ,{
// "resources": ["/BabelStoneHan.woff"],
// "matches": ["<all_urls>"]
// }
],
"permissions": [
"storage",
"unlimitedStorage"
],
"host_permissions":[
"*://*.youtube.com/*"
//"<all_urls>",
],
"icons": {
"16": "icons/16.png",
"19": "icons/19.png",
"32": "icons/32.png",
"36": "icons/36.png",
"48": "icons/48.png",
"64": "icons/64.png",
"128": "icons/128.png"
},
"action": {
"default_icon": {
"16": "icons/16.png",
"19": "icons/19.png",
"32": "icons/32.png"
},
"default_title": "Hanzō for your Hanzi",
"default_popup": "pop.htm"
}
}