-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
58 lines (50 loc) · 1.27 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
{
"manifest_version": 3,
"name": "Easy Languages Dictionary",
"version": "1.0.4",
"author": "R. N. West",
"homepage_url": "https://github.com/rnwst/easy-languages-dict",
"description": "Adds an interactive dictionary to subtitles of videos on the Easy Languages YouTube channels.",
"icons": {
"48": "icons/48.svg",
"128": "icons/128.svg"
},
"content_scripts": [
{
"matches": ["https://www.youtube.com/*", "https://m.youtube.com/*"],
"js": ["content/index.js"],
"run_at": "document_end",
"css": ["content/styles.css"]
}
],
"background": {
"type": "module",
"service_worker": "background/index.js"
},
"permissions": [
"webNavigation",
"storage"
],
"host_permissions": [
"https://translate.googleapis.com/*",
"https://www.bing.com/translator",
"https://www.bing.com/ttranslatev3?*",
"https://www2.deepl.com/jsonrpc?*"
],
"web_accessible_resources": [
{
"resources": [
"content/tesseract/*",
"content/tesseract-core/*",
"langs.csv"
],
"matches": ["https://www.youtube.com/*", "https://m.youtube.com/*"]
}
],
"minimum_chrome_version": "116",
"browser_specific_settings": {
"gecko": {
"strict_min_version": "112.0"
}
}
}