forked from sciooga/v2ex-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
82 lines (82 loc) · 2 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
{
"name": "v2ex plus",
"version": "1.6.1",
"manifest_version": 2,
"description": "优雅便捷的 V2EX 扩展",
"background": {
"scripts": ["libs/jquery-3.2.0.min.js", "libs/webtoolkit.base64.min.js", "libs/isOnline.min.js", "background.js","clipboard.js"]
},
"permissions": [
"alarms",
"notifications",
"storage",
"contextMenus",
"webRequest",
"webRequestBlocking",
"*://*.v2ex.com/*",
"*://*.imgur.com/*",
"*://*.weibo.com/*",
"*://*.sinaimg.cn/*"
],
"content_scripts": [
{
"matches": ["*://*.v2ex.com/"],
"css": ["hideCheck.css"]
},
{
"matches": ["*://*.v2ex.com/*"],
"js": ["libs/jquery-3.2.0.min.js", "all.js"]
},
{
"matches": ["*://*.v2ex.com/", "*://*.v2ex.com/?tab=*", "*://*.v2ex.com/go/*", "*://*.v2ex.com/my/*", "*://*.v2ex.com/recent*", "*://*.v2ex.com/changes*"],
"css": ["v2ex_tab.css"],
"js": ["v2ex_tab.js", "user_info.js"]
},
{
"matches": ["*://*.v2ex.com/t/*"],
"css": ["v2ex_reply.css"],
"js": ["emoticon.js", "clipboard.js", "v2ex_reply.js", "user_info.js", "sync_collect.js","v2ex_date.js"]
},
{
"matches": ["*://*.v2ex.com/new"],
"css": ["v2ex_new.css"],
"js": ["v2ex_new.js"]
},
{
"matches": ["*://*.v2ex.com/my/topics"],
"js": ["v2ex_collect.js"]
}
],
"browser_action": {
"default_icon": "icon/icon38.png"
},
"options_ui": {
"page": "page/options.html",
"open_in_tab": true
},
"icons": {
"16": "icon/icon16.png",
"48": "icon/icon48.png",
"128": "icon/icon128.png"
},
"web_accessible_resources": ["img/*"],
"applications": {
"gecko": {
"id": "{690c1618-4b2c-4905-bf58-1fc82bdfd6e7}",
"strict_min_version": "48.0"
}
},
"browser_specific_settings": {
"gecko": {
"strict_min_version": "68.0"
}
},
"commands": {
"newMsg": {
"suggested_key": {
"default": "Ctrl+B"
},
"description": "查看 V2EX 消息"
}
}
}