-
Notifications
You must be signed in to change notification settings - Fork 82
/
manifest.json
170 lines (146 loc) · 5.87 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
{
"name": "The Latest",
"version": "0.1",
"description": "Get the Latest news straight from your address bar",
"icons": { "16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png" },
"default_locale": "en",
//============================================================================
// DECLARE AT MOST ONE OF THE FOLLOWING UI EXPOSURES
// (A SAMPLE BROWSER ACTION IS PROVIDED BY DEFAULT)
//============================================================================
// http://code.google.com/chrome/extensions/browserAction.html
"browser_action": {
"default_icon": "icons/icon19.png", // optional
"default_title": "Action Title", // optional; shown in tooltip
"default_popup": "src/popup.html" // optional
},
// http://code.google.com/chrome/extensions/pageAction.html
/*
"page_action": {
"default_icon": "icons/icon19.png", // optional
"default_title": "Action Title", // optional; shown in tooltip
"default_popup": "src/popup.html" // optional
},
*/
// http://code.google.com/chrome/extensions/themes.html
/*
"theme": {
"images" : {
"theme_frame" : "images/theme_frame_camo.png",
"theme_frame_overlay" : "images/theme_frame_stripe.png",
"theme_toolbar" : "images/theme_toolbar_camo.png",
"theme_ntp_background" : "images/theme_ntp_background_norepeat.png",
"theme_ntp_attribution" : "images/attribution.png"
},
"colors" : {
"frame" : [71, 105, 91],
"toolbar" : [207, 221, 192],
"ntp_text" : [20, 40, 0],
"ntp_link" : [36, 70, 0],
"ntp_section" : [207, 221, 192],
"button_background" : [255, 255, 255]
},
"tints" : {
"buttons" : [0.33, 0.5, 0.47]
},
"properties" : {
"ntp_background_alignment" : "bottom"
}
}
*/
// HOSTED APP
// http://code.google.com/chrome/apps/docs/developers_guide.html
// NOTE: Hosted apps have limited access to many features in this file
/*
"app": {
"urls": [
"*://mail.google.com/mail/",
"*://www.google.com/mail/"
],
"launch": {
"web_url": "http://mail.google.com/mail/"
}
},
*/
// PACKAGED APP
// http://code.google.com/chrome/extensions/apps.html
/*
"app": {
"launch": {
"local_path": "src/main.html"
}
},
*/
//============================================================================
// PERMISSIONS
//============================================================================
// http://code.google.com/chrome/extensions/manifest.html#permissions
"permissions": [
"http://*.google.com/", // Refer to http://goo.gl/CPeqK http://goo.gl/U3Vev
"bookmarks", // http://code.google.com/chrome/extensions/bookmarks.html
"chrome://favicon/",
"clipboardRead", // document.execCommand('paste').
"clipboardWrite", // document.execCommand('copy' OR 'cut')
"contextMenus", //http:///code.google.com/chrome/extensions/contextMenus.html
"cookies", // http://code.google.com/chrome/extensions/cookies.html
// "experimental", // http://code.google.com/chrome/extensions/dev/experimental.html
"fileBrowserHandler", // http://goo.gl/GqbrP
"geolocation", // http://dev.w3.org/geo/api/spec-source.html
"history", // http://code.google.com/chrome/extensions/history.html
"idle", // http://code.google.com/chrome/extensions/idle.html
"management", // http://code.google.com/chrome/extensions/management.html
"notifications", // code.google.com/chrome/extensions/notifications.html
"tabs", // http://code.google.com/chrome/extensions/tabs.html +windows.html
"tts", // http://code.google.com/chrome/extensions/tts.html
"ttsEngine", // http://code.google.com/chrome/extensions/ttsEngine.html
"unlimitedStorage"
],
// CSP - We need to add twitter API so the default code will work
// http://developer.chrome.com/extensions/contentSecurityPolicy.html
"content_security_policy": "script-src https://api.twitter.com; object-src 'self'",
//============================================================================
// CHANGING CHROME'S CHROME
//============================================================================
// http://code.google.com/chrome/extensions/omnibox.html
// "omnibox": { "keyword" : "aaron" },
// "icons": { "16": "16-full-color.png" }
// http://code.google.com/chrome/extensions/options.html
// "options_page": "options.html",
// http://code.google.com/chrome/extensions/override.html
// pageToOverride is one of: bookmarks history newtab
// "chrome_url_overrides" : { "pageToOverride": "myPage.html", }
// http://code.google.com/chrome/extensions/dev/experimental.devtools.html
// Needs "experimental" permission
// "devtools_page": "devtools.html",
//============================================================================
// IMPLEMENTING THE INNARDS OF YOUR EXTENSION
//============================================================================
// http://code.google.com/chrome/extensions/background_pages.html */
// "background_page": "background.html",
// http://code.google.com/chrome/extensions/content_scripts.html
/*
"content_scripts": [
{
"matches": ["http://www.google.com/*"],
"css": ["src/contentStyle.css"],
"js": ["lib/jquery.min.js", "src/contentScript.js"]
}
],
*/
// http://code.google.com/chrome/extensions/npapi.html
/*
"plugins": [
{ "path": "content_plugin.dll", "public": true },
{ "path": "extension_plugin.dll" }
],
*/
// The new mandatory manifest version
"manifest_version": 2
//============================================================================
// FINISHING AND DISTRIBUTING YOUR EXTENSION
//============================================================================
// http://code.google.com/chrome/extensions/autoupdate.html */
// "update_url": "http://myhost.com/mytestextension/updates.xml"
}