-
Notifications
You must be signed in to change notification settings - Fork 12
/
manifest.json
184 lines (164 loc) · 4.99 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
// NOTE: JSON standart does not allow comments. Remove them
//Manifest Files - http://developer.chrome.com/extensions/manifest
{
"name": "__MSG_extName__",
"description": "__MSG_extDescr__",
"version": "0.1",
"manifest_version": 2,
// v. 22 - Alarms API and eventPage
// v. 20 - storage API
// v. 19 - browsing data API, top sites API
// http://developer.chrome.com/extensions/whats_new
"minimum_chrome_version": "25",
"default_locale": "en",
"icons": {
"16": "img/ext_icons/16.png",
"48": "img/ext_icons/48.png",
"128": "img/ext_icons/128.png"
},
//#################################################
// Pick one (or none). Do NOT leave both of them
"browser_action": {
"default_icon": {
"19": "img/ext_icons/19.png",
"38": "img/ext_icons/38.png"
},
"default_title": "__MSG_extName__",
"default_popup": "popup.html"
},
"page_action": {
"default_icon": {
"19": "img/ext_icons/19.png",
"38": "img/ext_icons/38.png"
},
"default_title": "__MSG_extName__",
"default_popup": "popup.html"
},
//#################################################
"background": {
"scripts": ["js/storage.js", "js/background.js"],
// it's eventPage( http://developer.chrome.com/extensions/event_pages )
// Use 'true' for backgroundPage
"persistent": false
},
"content_scripts": [
{
// http://developer.chrome.com/extensions/match_patterns
"matches": ["http://www.google.com/*"],
"css": ["css/content_script.css"],
"js": ["js/content_script.js"]
}
],
"options_page": "options.html",
"chrome_url_overrides": {
"pageToOverride": "myPage.html"
},
// http://developer.chrome.com/extensions/contentSecurityPolicy
"content_security_policy": "policyString",
"file_browser_handlers": [
{} // This API works only on Chrome OS
],
// If you distribute your extension using the Chrome Web Store, the homepage URL defaults to the extension's own page
"homepage_url": "http://path/to/homepage",
// Default "spanning". http://developer.chrome.com/extensions/manifest/incognito
"incognito": "spanning" or "split",
"input_components": ...,
// http://developer.chrome.com/extensions/manifest/key
"key": "publicKey",
"nacl_modules": [
{
"path": "OpenOfficeViewer.nmf",
"mime_type": "application/vnd.oasis.opendocument.spreadsheet"
}
],
// http://developer.chrome.com/extensions/manifest/offline_enabled
"offline_enabled": false,
"omnibox": {
// http://developer.chrome.com/extensions/omnibox
"keyword": "aString"
},
"plugins": [
{
"path": "content_plugin.dll",
"public": true
},
{
"path": "extension_plugin.dll"
}
],
"requirements": {
// http://developer.chrome.com/extensions/manifest/requirements
},
//If you're hosting your own extension or app, you need to add the "update_url"
// http://developer.chrome.com/extensions/autoupdate
"update_url": "http://path/to/updateInfo.xml",
// http://developer.chrome.com/extensions/manifest/web_accessible_resources
"web_accessible_resources": [
"img/ext_icons/16.png"
],
"sandbox": {
// http://developer.chrome.com/extensions/manifest/sandbox
},
//############################################################################
// https://developer.chrome.com/extensions/declare_permissions
"permissions": [
"http://*.google.com/*",
// "activeTab",
"alarms",
"background",
"bookmarks",
"browsingData",
"chrome://favicon/",
"clipboardRead",
"clipboardWrite",
"contentSettings",
"contextMenus",
"cookies",
"debugger",
"declarativeContent",
"declarativeWebRequest",
"desktopCapture",
"dns",
"documentScan",
"downloads",
// "experimental",
"fileBrowserHandler",
"fileSystemProvider",
"fontSettings",
"gcm",
"geolocation",
"history",
"identity",
"idle",
"idltest",
"infobars",
"location",
"management",
"nativeMessaging",
"notificationProvider",
"notifications",
"pageCapture",
"power",
"privacy",
"processes",
"proxy",
"pushMessaging",
"sessions",
"signedInDevices",
"storage",
"system.cpu",
"system.display",
"system.memory",
"system.storage",
"tabCapture",
"tabs",
"topSites",
"tts",
"ttsEngine",
"unlimitedStorage",
"vpnProvider",
"webNavigation",
"webRequest",
"webRequestBlocking"
]
}