-
Notifications
You must be signed in to change notification settings - Fork 32
/
manifest.json
executable file
·87 lines (87 loc) · 1.97 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "扇贝助手增强版",
"version": "1.14",
"manifest_version": 2,
"description": "任意网页查询并加入生词本、背单词页面简洁、增强词根词缀Webster功能、增加实用快捷键",
"icons": {
"48": "icon_48.png",
"72": "icon_72.png",
"128": "icon_128.png"
},
"background": {
"scripts": [
"js/jquery.min.js",
"js/howler.min.js",
"js/common.js",
"js/dictionaries/dict.js",
"js/background.js"
]
},
"options_page": "options.html",
"browser_action": {
"default_icon": "icon_48.png",
"default_popup": "popup.html",
"default_title": "扇贝助手增强版"
},
"content_scripts": [
{
"matches": ["*://*.shanbay.com/**review**"],
"css": ["css/style.css"],
"js": [
"js/jquery.min.js",
"js/common.js",
"js/dictionaries/etymology.js",
"js/main.js"
]
},
{
"css": ["css/shanbay.css"],
"js": [
"js/jquery.min.js",
"js/common.js",
"js/shanbay.js"
],
"matches": ["<all_urls>"],
"exclude_matches": ["*://*.shanbay.com/*"],
"all_frames": true
},
{
"js": [
"js/jquery.min.js",
"js/popup.js"
],
"matches": ["*://*.shanbay.com/**vocabulary/add/batch/*"],
"css": ["css/style.css"]
},
{
"js": [
"js/jquery.min.js",
"js/vocabulary.js"
],
"matches": ["*://*.shanbay.com/**learnings/library/*"]
},
{
"js": [
"js/jquery.min.js",
"js/addBook.js"
],
"matches": ["*://*.shanbay.com/wordbook/*"],
"css": ["css/style.css"]
}
],
"permissions": [
"cookies",
"contextMenus",
"activeTab",
"tabs",
"storage",
"notifications",
"*://*/*",
"\u003Call_urls\u003E"
],
"web_accessible_resources": [
"icon_48.png",
"images/bg-pattern.png"
],
"content_security_policy": "script-src 'self' 'unsafe-eval' ; object-src 'self'"
}