-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathmanifest_v3.json
45 lines (45 loc) · 1.08 KB
/
manifest_v3.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
{
"name": "TransOver",
"manifest_version": 3,
"version": "1.74",
"icons": { "16": "to_16.png", "48": "to_48.png", "128": "to_128.png" },
"description": "Hover, click or select to translate (with text-to-speech). Translator.",
"background": {
"service_worker": "background.js"
},
"options_ui": {
"page": "options.html"
},
"content_scripts": [{
"matches": [ "<all_urls>" ],
"all_frames": true,
"js": [
"contentscript.js"
]
}],
"action": {
"default_icon": {"38": "to_38.png", "19": "to_19.png"}
},
"commands": {
"copy-translation-to-clipboard": {
"description": "Copy translation to clipboard"
}
},
"permissions": [
"storage"
],
"host_permissions": [
"https://translate.googleapis.com/*",
"https://clients5.google.com/*",
"https://www.google-analytics.com/*"
],
"web_accessible_resources": [
{
"resources": ["popup.js", "tat_popup.js"],
"matches": ["https://*/*", "file://*/*"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
}
}