| OLD | NEW |
| 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
| 2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
| 3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
| 4 templating mechanism. | 4 templating mechanism. |
| 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
| 6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
| 7 authored overview content. | 7 authored overview content. |
| 8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
| 9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
| 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 </li><li> | 203 </li><li> |
| 204 <a href="#H2-1">Field details</a> | 204 <a href="#H2-1">Field details</a> |
| 205 <ol> | 205 <ol> |
| 206 <li> | 206 <li> |
| 207 <a href="#description">description</a> | 207 <a href="#description">description</a> |
| 208 </li><li> | 208 </li><li> |
| 209 <a href="#icons">icons</a> | 209 <a href="#icons">icons</a> |
| 210 </li><li> | 210 </li><li> |
| 211 <a href="#name">name</a> | 211 <a href="#name">name</a> |
| 212 </li><li> | 212 </li><li> |
| 213 <a href="#minimum_chrome_version">Minimum Chrome Version</a> |
| 214 </li><li> |
| 213 <a href="#permissions">permissions</a> | 215 <a href="#permissions">permissions</a> |
| 214 </li><li> | 216 </li><li> |
| 215 <a href="#version">version</a> | 217 <a href="#version">version</a> |
| 216 </li> | 218 </li> |
| 217 </ol> | 219 </ol> |
| 218 </li> | 220 </li> |
| 219 <li style="display: none; "> | 221 <li style="display: none; "> |
| 220 <a href="#apiReference">API reference</a> | 222 <a href="#apiReference">API reference</a> |
| 221 <ol> | 223 <ol> |
| 222 <li> | 224 <li> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 290 |
| 289 <em>// Pick one (or none)</em> | 291 <em>// Pick one (or none)</em> |
| 290 "<a href="browserAction.html">browser_action</a>": {...}, | 292 "<a href="browserAction.html">browser_action</a>": {...}, |
| 291 "<a href="pageAction.html">page_action</a>": {...}, | 293 "<a href="pageAction.html">page_action</a>": {...}, |
| 292 "<a href="themes.html">theme</a>": {...}, | 294 "<a href="themes.html">theme</a>": {...}, |
| 293 | 295 |
| 294 <em>// Add any of these that you need</em> | 296 <em>// Add any of these that you need</em> |
| 295 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", | 297 "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", |
| 296 "<a href="override.html">chrome_url_overrides</a>": {...}, | 298 "<a href="override.html">chrome_url_overrides</a>": {...}, |
| 297 "<a href="content_scripts.html">content_scripts</a>": [...], | 299 "<a href="content_scripts.html">content_scripts</a>": [...], |
| 300 "<a href="#minimum_chrome_version">minimum_chrome_version</a>": "x.y", |
| 298 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", | 301 "<a href="options.html">options_page</a>": "<em>aFile</em>.html", |
| 299 "<a href="#permissions">permissions</a>": [...], | 302 "<a href="#permissions">permissions</a>": [...], |
| 300 "<a href="npapi.html">plugins</a>": [...], | 303 "<a href="npapi.html">plugins</a>": [...], |
| 301 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" | 304 "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em
>.xml" |
| 302 } | 305 } |
| 303 </pre> | 306 </pre> |
| 304 | 307 |
| 305 | 308 |
| 306 <a name="H2-1"></a><h2>Field details</h2> | 309 <a name="H2-1"></a><h2>Field details</h2> |
| 307 | 310 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 | 366 |
| 364 <p> | 367 <p> |
| 365 A short, plain text string | 368 A short, plain text string |
| 366 (no more than 45 characters) | 369 (no more than 45 characters) |
| 367 that identifies the extension. | 370 that identifies the extension. |
| 368 The name is used in the install dialog, | 371 The name is used in the install dialog, |
| 369 extension management UI, | 372 extension management UI, |
| 370 and the <a href="https://chrome.google.com/extensions">extension gallery</a>. | 373 and the <a href="https://chrome.google.com/extensions">extension gallery</a>. |
| 371 </p> | 374 </p> |
| 372 | 375 |
| 373 <h3 id="permissions">permissions</h3> | 376 <h3 id="minimum_chrome_version">Minimum Chrome Version</h3> |
| 377 |
| 378 <p> |
| 379 The version of Google Chrome that your extension requires, if any. |
| 380 The format for this string is the same as for the <a href="#version">version |
| 381 field</a>. |
| 382 |
| 383 </p><h3 id="permissions">permissions</h3> |
| 374 | 384 |
| 375 <p> | 385 <p> |
| 376 An array of permissions that the extension might use. | 386 An array of permissions that the extension might use. |
| 377 Each permission can be either one of a list of known strings | 387 Each permission can be either one of a list of known strings |
| 378 (such as "tabs" or "bookmarks") | 388 (such as "tabs" or "bookmarks") |
| 379 or a match pattern | 389 or a match pattern |
| 380 that gives access to one or more hosts. | 390 that gives access to one or more hosts. |
| 381 These permissions are displayed to users before installation. | 391 These permissions are displayed to users before installation. |
| 382 Permissions might also help to limit damage | 392 Permissions might also help to limit damage |
| 383 if your extension is attacked. | 393 if your extension is attacked. |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 _uff=0; | 653 _uff=0; |
| 644 urchinTracker(); | 654 urchinTracker(); |
| 645 } | 655 } |
| 646 catch(e) {/* urchinTracker not available. */} | 656 catch(e) {/* urchinTracker not available. */} |
| 647 </script> | 657 </script> |
| 648 <!-- end analytics --> | 658 <!-- end analytics --> |
| 649 </div> | 659 </div> |
| 650 </div> <!-- /gc-footer --> | 660 </div> <!-- /gc-footer --> |
| 651 </div> <!-- /gc-container --> | 661 </div> <!-- /gc-container --> |
| 652 </body></html> | 662 </body></html> |
| OLD | NEW |