OLD | NEW |
1 <h1>Formats: Manifest Files</h1> | 1 <h1>Formats: Manifest Files</h1> |
2 | 2 |
3 | 3 |
4 <p> | 4 <p> |
5 Every extension, installable web app, and theme has a | 5 Every extension, installable web app, and theme has a |
6 <a href="http://www.json.org">JSON</a>-formatted manifest file, | 6 <a href="http://www.json.org">JSON</a>-formatted manifest file, |
7 named <code>manifest.json</code>, | 7 named <code>manifest.json</code>, |
8 that provides important information. | 8 that provides important information. |
9 </p> | 9 </p> |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 Here's an example of specifying the icons: | 177 Here's an example of specifying the icons: |
178 </p> | 178 </p> |
179 | 179 |
180 <pre> | 180 <pre> |
181 "icons": { "16": "icon16.png", | 181 "icons": { "16": "icon16.png", |
182 "48": "icon48.png", | 182 "48": "icon48.png", |
183 "128": "icon128.png" }, | 183 "128": "icon128.png" }, |
184 </pre> | 184 </pre> |
185 | 185 |
186 <p class="note"> | 186 <p class="note"> |
187 <b>Important:</b> | 187 You may provide icons of any other size you wish, and Chrome will attempt to use |
188 Use only the documented icon sizes. | 188 the best size where appropriate. For example, Windows often requires 32-pixel |
189 <br><br> | 189 icons, and if the app includes a 32-pixel icon, Chrome will choose that instead |
190 You might notice that Chrome sometimes resizes these icons down to smaller | 190 of shrinking a 48-pixel icon down. However, you should ensure that all of your |
191 sizes. For example, the install dialog might shrink the 128-pixel | 191 icons are square, or unexpected behavior may result. |
192 icon down to 69 pixels. | |
193 <br><br> | |
194 However, the details of | |
195 Chrome's UI may change between versions, and these changes assume that | |
196 developers are using the documented sizes. If you use other sizes, | |
197 your icon may look bad in future versions of the browser. | |
198 </p> | 192 </p> |
199 | 193 |
200 <p> | 194 <p> |
201 If you upload your extension, app, or theme using the | 195 If you upload your extension, app, or theme using the |
202 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a>, | 196 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a>, |
203 you'll need to upload additional images, | 197 you'll need to upload additional images, |
204 including at least one screenshot of your extension. | 198 including at least one screenshot of your extension. |
205 For more information, | 199 For more information, |
206 see the | 200 see the |
207 <a href="http://code.google.com/chrome/webstore/">Chrome Web Store | 201 <a href="http://code.google.com/chrome/webstore/">Chrome Web Store |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 goes into more detail about implementing a sandboxing workflow that enables use | 624 goes into more detail about implementing a sandboxing workflow that enables use |
631 of libraries that would otherwise have issues executing under extension's | 625 of libraries that would otherwise have issues executing under extension's |
632 <a href="../extensions/contentSecurityPolicy.html">default Content Security | 626 <a href="../extensions/contentSecurityPolicy.html">default Content Security |
633 Policy</a>. | 627 Policy</a>. |
634 </p> | 628 </p> |
635 | 629 |
636 <p> | 630 <p> |
637 Sandboxed page may only be specified when using | 631 Sandboxed page may only be specified when using |
638 <a href="#manifest_version"><code>manifest_version</code></a> 2 or above. | 632 <a href="#manifest_version"><code>manifest_version</code></a> 2 or above. |
639 </p> | 633 </p> |
OLD | NEW |