-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.json
49 lines (49 loc) · 1.31 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
{
"manifest_version": 3,
"name": "Cambridge Dictionary",
"version": "1.0",
"description": "A Cambridge dictionary extension to search a word directly in any web page",
"author": "github.com/hainh",
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"incognito": "spanning",
"action": {
"default_title": "Cambridge Dictionary",
"default_popup": "popup/popup.html"
},
"permissions": [
"storage",
"tabs",
"activeTab"
],
"background": {
"service_worker": "worker.js",
"type": "module"
},
"commands": {
"toggle-translation": {
"suggested_key": "Ctrl+Shift+Q",
"description": "Activate the extension"
},
"close-all-definition-windows": {
"suggested_key": "Ctrl+Shift+Z",
"description": "Close all definition windows in current tab"
}
},
"content_scripts": [{
"matches": ["<all_urls>"],
"css": ["content/dict.css", "content/tab.css"],
"js": [
"content/jQuery.js",
"content/mustache.js",
"content/switchtab.js",
"content/dict.js"
]
}],
"host_permissions": [
"https://dictionary.cambridge.org/"
]
}