| OLD | NEW |
| 1 <div id="pageData-title" class="pageData">Formats: Manifest Files</div> | 1 <div id="pageData-title" class="pageData">Formats: Manifest Files</div> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> | 2 <div id="pageData-showTOC" class="pageData">true</div> |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 Every extension has a | 5 Every extension 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 about the extension. | 8 that provides important information about the extension. |
| 9 </p> | 9 </p> |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "<a href="#description">description</a>": "<em>A plain text description</em>", | 27 "<a href="#description">description</a>": "<em>A plain text description</em>", |
| 28 "<a href="#icons">icons</a>": { ... }, | 28 "<a href="#icons">icons</a>": { ... }, |
| 29 | 29 |
| 30 <em>// Pick one (or none)</em> | 30 <em>// Pick one (or none)</em> |
| 31 "<a href="browserAction.html">brower_action</a>": {...}, | 31 "<a href="browserAction.html">brower_action</a>": {...}, |
| 32 "<a href="pageAction.html">page_action</a>": {...}, | 32 "<a href="pageAction.html">page_action</a>": {...}, |
| 33 "<a href="themes.html">theme</a>": {...}, | 33 "<a href="themes.html">theme</a>": {...}, |
| 34 | 34 |
| 35 <em>// Add any of these that you need</em> | 35 <em>// Add any of these that you need</em> |
| 36 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", | 36 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", |
| 37 "<a href="ntp.html">chrome_url_overrides</a>": {...}, | 37 "<a href="override.html">chrome_url_overrides</a>": {...}, |
| 38 "<a href="content_scripts.html">content_scripts</a>": [...], | 38 "<a href="content_scripts.html">content_scripts</a>": [...], |
| 39 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", | 39 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", |
| 40 "<a href="#permissions">permissions</a>": [...], | 40 "<a href="#permissions">permissions</a>": [...], |
| 41 "<a href="npapi.html">plugins</a>": [...] | 41 "<a href="npapi.html">plugins</a>": [...] |
| 42 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml", | 42 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml", |
| 43 } | 43 } |
| 44 </pre> | 44 </pre> |
| 45 | 45 |
| 46 | 46 |
| 47 <h2>Field details</h2> | 47 <h2>Field details</h2> |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 A missing integer is equal to zero. | 182 A missing integer is equal to zero. |
| 183 For example, 1.1.9.9999 is newer than 1.1. | 183 For example, 1.1.9.9999 is newer than 1.1. |
| 184 </p> | 184 </p> |
| 185 | 185 |
| 186 <p> | 186 <p> |
| 187 For more information, see | 187 For more information, see |
| 188 <a href="autoupdate.html">Autoupdating</a>. | 188 <a href="autoupdate.html">Autoupdating</a>. |
| 189 </p> | 189 </p> |
| 190 | 190 |
| 191 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th
at autoupdating is free if you use the gallery.] --> | 191 <!-- [PENDING: Possibly: point to the gallery and make a big deal of the fact th
at autoupdating is free if you use the gallery.] --> |
| OLD | NEW |