-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
93 lines (93 loc) · 2.18 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
88
89
90
91
92
93
{
"background": {
// "page": "background.html"
"scripts": [
"background/bg.js",
"background/websocket.js",
"background/connect.js",
"background/data.js"
]
},
"browser_action": {
//browser_action,page_action
"default_icon": {
"16": "logo/icon_16.png",
"24": "logo/icon_24.png",
"32": "logo/icon_32.png",
"48": "logo/icon_48.png"
},
"default_popup": "panel/index.html",
"default_title": "AutoMan"
},
"web_accessible_resources": [
"inject/inject.js"
],
"content_scripts": [
{
"all_frames": true,
"js": [
"common/jquery/jquery.min.js",
"content/content.js"
],
"matches": [
"http://*/*",
"https://*/*"
],
"run_at": "document_start"
}
],
"chrome_url_overrides": {
//一个插件只能替代一个默认页
"newtab": "newtab.html"
// "history": "history.html",
// "bookmarks": "bookmarks.html"
},
// 只能指向一个HTML文件,不能是JS文件
// "devtools_page": "devtools.html",
// "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"description": "The world's most popular userscript manager",
"icons": {
"128": "logo/icon_128.png",
"32": "logo/icon_32.png",
"48": "logo/icon_48.png"
},
"manifest_version": 2,
"minimum_chrome_version": "5.0.316.0",
"name": "Browser AutoMan",
"offline_enabled": true,
"optional_permissions": [
"contentSettings",
"downloads"
],
"options_page": "options.html",
"options_ui": {
"chrome_style": false,
"open_in_tab": true,
"page": "options.html"
},
"permissions": [
"tabs",
"activeTab",
"webRequest",
"contextMenus",
"downloads",
"webNavigation",
"notifications",
"http://*/",
"https://*/",
"storage",
"unlimitedStorage",
"idle",
"management",
"webRequestBlocking",
"chrome://favicon/",
"clipboardWrite",
"cookies",
"declarativeContent",
"<all_urls>",
"debugger"
],
"short_name": "AutoMan",
"version": "1.1"
}