-
Notifications
You must be signed in to change notification settings - Fork 14
/
manifest.json
62 lines (62 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "扇贝助手v2",
"version": "2.1.9",
"author": "maicss [email protected] https://github.com/maicss",
"manifest_version": 3,
"description": "基于shanbay网页API查询并加入单词到生词本的应用",
"icons": {
"48": "images/icon_48.png"
},
"background": {
"service_worker": "js/background.js",
"type": "module"
},
"commands": {
"look-up-in-shanbay": {
"description": "Look up a word in shanbay"
}
},
"action": {
"default_icon": "images/icon_48.png",
"default_popup": "popup.html",
"default_title": "扇贝助手v2"
},
"minimum_chrome_version": "88",
"web_accessible_resources": [{
"matches": ["<all_urls>"],
"resources": ["js/const.mjs"]
}],
"content_scripts": [
{
"css": [
"css/popover.css"
],
"js": [
"js/main.mjs"
],
"matches": ["<all_urls>"],
"exclude_matches": [
"*://*.shanbay.com/*",
"*://*.hjenglish.com/*",
"*://*.codepen.io/*",
"*://*.jsfiddle.net/*",
"*://*.jsbin.com/*",
"*://*.codesandbox.io/*",
"*://*.github1s.com/*"
]
}
],
"host_permissions": [
"*://*.shanbay.com/"
],
"permissions": [
"cookies",
"contextMenus",
"storage",
"alarms",
"notifications",
"offscreen",
"scripting",
"activeTab"
]
}