/
manifest.json
46 lines (45 loc) · 1.34 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
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "TranSym",
"manifest_version": 2,
"version": "1",
"icons": { "16": "to_16.png", "48": "to_48.png", "128": "to_128.png" },
"description": "Hover over words to translate and find synonyms!",
"background": { "scripts": [
"lib/jquery-3.1.0.min.js",
"lib/lodash.min.js",
"lib/xregexp-min.js",
"lib/xregexp-unicode-base.js",
"lib/xregexp-unicode-categories.js",
"lib/transover_utils.js",
"lib/options.js",
"background.js"
]
},
"options_page": "options.html",
"content_scripts": [{
"matches": [ "<all_urls>" ],
"all_frames": true,
"js": [
"lib/jquery-3.1.0.min.js",
"lib/xregexp-min.js",
"lib/xregexp-unicode-base.js",
"lib/xregexp-unicode-categories.js",
"lib/languages.js",
"lib/transover_utils.js",
"contentscript.js"
]
}],
"browser_action": {
"default_icon": {"38": "to_38.png", "19": "to_19.png"}
},
"permissions": [ "*://translate.google.com/*", "tabs", "tts" ],
"web_accessible_resources": [
"options.html",
"lib/popup.html",
"lib/popup.js",
"lib/tat_popup.html",
"lib/tat_popup.js"
],
"content_security_policy": "script-src 'self' 'unsafe-eval' https://ssl.google-analytics.com https://translate.google.com; object-src 'self'"
}