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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 <ul> | 163 <ul> |
164 <li>Browser UI | 164 <li>Browser UI |
165 <ul> | 165 <ul> |
166 <li><a href="browserAction.html">Browser Actions</a></li> | 166 <li><a href="browserAction.html">Browser Actions</a></li> |
167 <li><a href="contextMenus.html">Context Menus</a></li> | 167 <li><a href="contextMenus.html">Context Menus</a></li> |
168 <li><a href="notifications.html">Desktop Notifications</a></li
> | 168 <li><a href="notifications.html">Desktop Notifications</a></li
> |
169 <li><a href="omnibox.html">Omnibox</a></li> | 169 <li><a href="omnibox.html">Omnibox</a></li> |
170 <li><a href="options.html">Options Pages</a></li> | 170 <li><a href="options.html">Options Pages</a></li> |
171 <li><a href="override.html">Override Pages</a></li> | 171 <li><a href="override.html">Override Pages</a></li> |
172 <li><a href="pageAction.html">Page Actions</a></li> | 172 <li><a href="pageAction.html">Page Actions</a></li> |
173 <li><a href="themes.html">Themes</a></li> | |
174 </ul> | 173 </ul> |
175 </li> | 174 </li> |
176 <li>Browser Interaction | 175 <li>Browser Interaction |
177 <ul> | 176 <ul> |
178 <li><a href="bookmarks.html">Bookmarks</a></li> | 177 <li><a href="bookmarks.html">Bookmarks</a></li> |
179 <li><a href="cookies.html">Cookies</a></li> | 178 <li><a href="cookies.html">Cookies</a></li> |
180 <li><a href="events.html">Events</a></li> | 179 <li><a href="events.html">Events</a></li> |
181 <li><a href="history.html">History</a></li> | 180 <li><a href="history.html">History</a></li> |
182 <li><a href="management.html">Management</a></li> | 181 <li><a href="management.html">Management</a></li> |
183 <li><a href="tabs.html">Tabs</a></li> | 182 <li><a href="tabs.html">Tabs</a></li> |
(...skipping 13 matching lines...) Expand all Loading... |
197 </ul> | 196 </ul> |
198 </li> | 197 </li> |
199 <li>Finishing | 198 <li>Finishing |
200 <ul> | 199 <ul> |
201 <li><a href="hosting.html">Hosting</a></li> | 200 <li><a href="hosting.html">Hosting</a></li> |
202 <li><a href="external_extensions.html">Other Deployment Option
s</a></li> | 201 <li><a href="external_extensions.html">Other Deployment Option
s</a></li> |
203 </ul> | 202 </ul> |
204 </li> | 203 </li> |
205 </ul> | 204 </ul> |
206 </li> | 205 </li> |
| 206 <li><h2><a href="apps.html">Packaged Apps</a></h2></li> |
207 <li><h2><a href="tutorials.html">Tutorials</a></h2> | 207 <li><h2><a href="tutorials.html">Tutorials</a></h2> |
208 <ul> | 208 <ul> |
209 <li><a href="tut_debugging.html">Debugging</a></li> | 209 <li><a href="tut_debugging.html">Debugging</a></li> |
210 <li><a href="tut_analytics.html">Google Analytics</a></li> | 210 <li><a href="tut_analytics.html">Google Analytics</a></li> |
211 <li><a href="tut_oauth.html">OAuth</a></li> | 211 <li><a href="tut_oauth.html">OAuth</a></li> |
212 </ul> | 212 </ul> |
213 </li> | 213 </li> |
214 <li><h2>Reference</h2> | 214 <li><h2>Reference</h2> |
215 <ul> | 215 <ul> |
216 <li>Formats | 216 <li>Formats |
217 <ul> | 217 <ul> |
218 <li><a href="manifest.html">Manifest Files</a></li> | 218 <li><a href="manifest.html">Manifest Files</a></li> |
219 <li><a href="match_patterns.html">Match Patterns</a></li> | 219 <li><a href="match_patterns.html">Match Patterns</a></li> |
220 <!-- <li>Packages (.crx)</li> --> | |
221 </ul> | 220 </ul> |
222 </li> | 221 </li> |
| 222 <li><a href="permission_warnings.html">Permission Warnings</a></li
> |
223 <li><a href="api_index.html">chrome.* APIs</a></li> | 223 <li><a href="api_index.html">chrome.* APIs</a></li> |
224 <li><a href="api_other.html">Other APIs</a></li> | 224 <li><a href="api_other.html">Other APIs</a></li> |
225 </ul> | 225 </ul> |
226 </li> | 226 </li> |
227 <li><h2><a href="samples.html">Samples</a></h2></li> | 227 <li><h2><a href="samples.html">Samples</a></h2></li> |
228 <div class="line"> </div> | 228 <div class="line"> </div> |
229 <li><h2>More</h2> | 229 <li><h2>More</h2> |
230 <ul> | 230 <ul> |
231 <li><a href="http://code.google.com/chrome/webstore/docs/index.htm
l">Chrome Web Store</a></li> | 231 <li><a href="http://code.google.com/chrome/webstore/docs/index.htm
l">Chrome Web Store</a></li> |
232 <li><a href="http://code.google.com/chrome/apps/docs/developers_gu
ide.html">Installable Web Apps</a></li> | 232 <li><a href="http://code.google.com/chrome/apps/docs/developers_gu
ide.html">Hosted Apps</a></li> |
233 <li><a href="themes.html">Themes</a></li> | 233 <li><a href="themes.html">Themes</a></li> |
234 </ul> | 234 </ul> |
235 </li> | 235 </li> |
236 </ul> | 236 </ul> |
237 </div> | 237 </div> |
238 <script> | 238 <script> |
239 initToggles(); | 239 initToggles(); |
240 </script> | 240 </script> |
241 | 241 |
242 <div class="g-unit" id="gc-pagecontent"> | 242 <div class="g-unit" id="gc-pagecontent"> |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 As the <a href="overview.html">Overview</a> explains, | 331 As the <a href="overview.html">Overview</a> explains, |
332 extensions are packaged as signed ZIP files | 332 extensions are packaged as signed ZIP files |
333 with the file extension "crx" — | 333 with the file extension "crx" — |
334 for example, <code>myextension.crx</code>. | 334 for example, <code>myextension.crx</code>. |
335 </p> | 335 </p> |
336 | 336 |
337 <p> | 337 <p> |
338 <b>Note:</b> | 338 <b>Note:</b> |
339 You might not need to package your extension. | 339 You might not need to package your extension. |
340 If you publish your extension using the | 340 If you publish your extension using the |
341 <a href="https://chrome.google.com/extensions">gallery</a>, | 341 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a>, |
342 then the only reason to create your own <code>.crx</code> file | 342 then the only reason to create your own <code>.crx</code> file |
343 would be to distribute a non-public version — | 343 would be to distribute a non-public version — |
344 for example, to alpha testers. | 344 for example, to alpha testers. |
345 </p> | 345 </p> |
346 | 346 |
347 <!-- [PENDING: Refer to instructions on submitting an extension for inclusion in
the gallery.] --> | 347 <!-- [PENDING: Refer to instructions on submitting an extension for inclusion in
the gallery.] --> |
348 | 348 |
349 <p> | 349 <p> |
350 When you package an extension, | 350 When you package an extension, |
351 the extension is assigned a unique key pair. | 351 the extension is assigned a unique key pair. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 </ol> | 397 </ol> |
398 | 398 |
399 | 399 |
400 <p> | 400 <p> |
401 <b>Do not lose the private key!</b> | 401 <b>Do not lose the private key!</b> |
402 Keep the <code>.pem</code> file secret and in a safe place. | 402 Keep the <code>.pem</code> file secret and in a safe place. |
403 You'll need it later if you want to do any of the following: | 403 You'll need it later if you want to do any of the following: |
404 </p> | 404 </p> |
405 <ul> | 405 <ul> |
406 <li><a href="#update">Update</a> the extension</li> | 406 <li><a href="#update">Update</a> the extension</li> |
407 <li>Upload the extension to the | 407 <li>Upload the extension using the |
408 <a href="https://chrome.google.com/extensions">Extensions Gallery</a> </li> | 408 <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Develope
r Dashboard</a></li> |
409 </ul> | 409 </ul> |
410 | 410 |
411 <p> | 411 <p> |
412 If the extension is successfully packaged, you'll see a dialog like this | 412 If the extension is successfully packaged, you'll see a dialog like this |
413 that tells you where to find | 413 that tells you where to find |
414 the <code>.crx</code> and <code>.pem</code> files:</p> | 414 the <code>.crx</code> and <code>.pem</code> files:</p> |
415 <p></p> | 415 <p></p> |
416 | 416 |
417 <img src="images/package-success.gif" width="554" height="208"> | 417 <img src="images/package-success.gif" width="554" height="208"> |
418 | 418 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 | 474 |
475 <p> | 475 <p> |
476 To suppress the dialog, | 476 To suppress the dialog, |
477 add <code>--no-message-box</code> to the command. | 477 add <code>--no-message-box</code> to the command. |
478 </p> | 478 </p> |
479 | 479 |
480 <a name="H2-3"></a><h2>Package format and scripts</h2> | 480 <a name="H2-3"></a><h2>Package format and scripts</h2> |
481 <p> | 481 <p> |
482 For more information on the format, as well as pointers to scripts you can use | 482 For more information on the format, as well as pointers to scripts you can use |
483 to create <code>.crx</code> files, see <a href="crx.html">CRX package format</a>
. | 483 to create <code>.crx</code> files, see <a href="crx.html">CRX package format</a>
. |
484 </p></div> | 484 </p> |
| 485 </div> |
485 | 486 |
486 <!-- API PAGE --> | 487 <!-- API PAGE --> |
487 <div class="apiPage" style="display: none; "> | 488 <div class="apiPage" style="display: none; "> |
488 <a name="apiReference"></a> | 489 <a name="apiReference"></a> |
489 <h2>API reference: chrome.apiname </h2> | 490 <h2>API reference: chrome.apiname </h2> |
490 | 491 |
491 <!-- PROPERTIES --> | 492 <!-- PROPERTIES --> |
492 <div class="apiGroup"> | 493 <div class="apiGroup"> |
493 <a name="properties"></a> | 494 <a name="properties"></a> |
494 <h3 id="properties">Properties</h3> | 495 <h3 id="properties">Properties</h3> |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 _uff=0; | 670 _uff=0; |
670 urchinTracker(); | 671 urchinTracker(); |
671 } | 672 } |
672 catch(e) {/* urchinTracker not available. */} | 673 catch(e) {/* urchinTracker not available. */} |
673 </script> | 674 </script> |
674 <!-- end analytics --> | 675 <!-- end analytics --> |
675 </div> | 676 </div> |
676 </div> <!-- /gc-footer --> | 677 </div> <!-- /gc-footer --> |
677 </div> <!-- /gc-container --> | 678 </div> <!-- /gc-container --> |
678 </body></html> | 679 </body></html> |
OLD | NEW |