-
-
Notifications
You must be signed in to change notification settings - Fork 163
Expand file tree
/
Copy pathmanifest.json
More file actions
65 lines (58 loc) · 1.49 KB
/
manifest.json
File metadata and controls
65 lines (58 loc) · 1.49 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
65
{
"manifest_version": 3,
"version": "0.1.89",
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
"icons": {
"16": "icons/icon_16.png",
"32": "icons/icon_32.png",
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval' ; object-src 'none'"
},
"permissions": ["storage", "tts", "tabs", "scripting", "contextMenus", "offscreen", "search"],
"host_permissions": [
"<all_urls>"
],
"web_accessible_resources": [{
"resources": ["pdfjs/web/viewer.html", "ocr.html", "opencvHandler.html", "videoHandler.js","googleDocInject.js","subtitle.js"],
"matches": ["<all_urls>"]
}],
"sandbox": {
"pages": [
"opencvHandler.html"
]
},
"commands": {
"copy-translated-text": {
"suggested_key": {
"default": "Ctrl+Shift+1"
},
"description": "Copy Translated Text"
}
},
"omnibox": { "keyword" : "/" },
"content_scripts": [
{
"js": ["contentScript.js"],
"css": ["tippy.css"],
"run_at": "document_start",
"all_frames": true,
"matches": ["<all_urls>"],
"match_about_blank": true
}
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_title": "Mouse Tooltip Translator",
"default_popup": "popup.html"
},
"options_ui": {
"page": "popup.html"
}
}