| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 298 |
| 299 <!-- Standard content lead-in for experimental API pages --> | 299 <!-- Standard content lead-in for experimental API pages --> |
| 300 <p id="classSummary" style="display: none; "> | 300 <p id="classSummary" style="display: none; "> |
| 301 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. | 301 For information on how to use experimental APIs, see the <a href="expe
rimental.html">chrome.experimental.* APIs</a> page. |
| 302 </p> | 302 </p> |
| 303 | 303 |
| 304 <!-- STATIC CONTENT PLACEHOLDER --> | 304 <!-- STATIC CONTENT PLACEHOLDER --> |
| 305 <div id="static"><div id="pageData-name" class="pageData">Hello There!</
div> | 305 <div id="static"><div id="pageData-name" class="pageData">Hello There!</
div> |
| 306 | 306 |
| 307 <p> | 307 <p> |
| 308 This documentation tells you how to write <em>Google Chrome Extensions</em> — | 308 This documentation tells you how to write extensions |
| 309 small software programs | 309 and packaged apps for the |
| 310 that can modify and enhance the functionality of the | |
| 311 <a href="http://www.google.com/chrome">Google Chrome browser</a>. | 310 <a href="http://www.google.com/chrome">Google Chrome browser</a>. |
| 311 Because extensions came first, |
| 312 the APIs and these docs say <em>extension</em> everywhere, |
| 313 even though almost everything applies to packaged apps, as well. |
| 312 </p> | 314 </p> |
| 313 | 315 |
| 316 <p class="caution"> |
| 317 <b>Note:</b> |
| 318 Unless you see a note |
| 319 describing an exception for packaged apps, |
| 320 everything in this documentation applies to both extensions and packaged apps. |
| 321 </p> |
| 322 |
| 323 |
| 314 <h2 id="readme"> Where to start </h2> | 324 <h2 id="readme"> Where to start </h2> |
| 315 | 325 |
| 316 <p> | 326 <p> |
| 317 Before you write an extension, | 327 Before you code, |
| 318 read these: | 328 read these: |
| 319 </p> | 329 </p> |
| 320 | 330 |
| 321 <dl> | 331 <dl> |
| 322 <dt> <a href="getstarted.html">Getting Started (Hello, World!)</a> </dt> | 332 <dt> <a href="getstarted.html">Getting Started (Hello, World!)</a> </dt> |
| 323 <dd> Build a simple "Hello, World" extension in about 5 minutes </dd> | 333 <dd> Build a simple "Hello, World" extension in about 5 minutes </dd> |
| 324 | 334 |
| 325 <dt> <a href="overview.html">Overview</a> </dt> | 335 <dt> <a href="overview.html">Overview</a> </dt> |
| 326 <dd> Learn about the fundamental design points of the extension system </dd> | 336 <dd> Learn about the fundamental design points of the extension system </dd> |
| 327 </dl> | 337 </dl> |
| 328 | 338 |
| 329 <p> | 339 <p> |
| 330 Also check out these: | 340 Also check out these: |
| 331 </p> | 341 </p> |
| 332 | 342 |
| 333 <ul> | 343 <ul> |
| 334 <li> | 344 <li> |
| 335 <a href="devguide.html">Developer's Guide</a> | 345 <a href="devguide.html">Developer's Guide</a> |
| 336 </li> | 346 </li> |
| 337 <li> | 347 <li> |
| 338 <a href="samples.html">Samples</a> | 348 <a href="samples.html">Samples</a> |
| 339 </li> | 349 </li> |
| 340 <li> | 350 <li> |
| 341 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions">
Group: chromium-extensions</a> | 351 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions">
Group: chromium-extensions</a> |
| 342 </li> | 352 </li> |
| 343 <li> | 353 <li> |
| 344 <a href="http://code.google.com/chrome/extensions/index.html">Home: Google C
hrome Extensions</a> | 354 <a href="http://chrome.google.com/webstore">Chrome Web Store</a> |
| 345 </li> | 355 </li> |
| 346 <li> | 356 <li> |
| 347 <a href="https://chrome.google.com/extensions">Gallery</a> | 357 <a href="http://code.google.com/chrome/webstore/">Chrome Web Store |
| 358 developer documentation</a> |
| 348 </li> | 359 </li> |
| 349 </ul> | 360 </ul> |
| 350 | 361 |
| 351 <h2 id="versions"> Doc versions </h2> | 362 <h2 id="versions"> Doc versions </h2> |
| 352 <p> | 363 <p> |
| 353 In general, you should view these pages at | 364 In general, you should view these pages at |
| 354 <b>http://code.google.com/chrome/extensions/<em><filename></em></b> | 365 <b>http://code.google.com/chrome/extensions/<em><filename></em></b> |
| 355 (for example, | 366 (for example, |
| 356 <a href="http://code.google.com/chrome/extensions/overview.html">http://code.goo
gle.com/chrome/extensions/overview.html</a>). | 367 <a href="http://code.google.com/chrome/extensions/overview.html">http://code.goo
gle.com/chrome/extensions/overview.html</a>). |
| 357 However, if you need to see the very latest doc | 368 However, if you need to see the very latest doc |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 _uff=0; | 631 _uff=0; |
| 621 urchinTracker(); | 632 urchinTracker(); |
| 622 } | 633 } |
| 623 catch(e) {/* urchinTracker not available. */} | 634 catch(e) {/* urchinTracker not available. */} |
| 624 </script> | 635 </script> |
| 625 <!-- end analytics --> | 636 <!-- end analytics --> |
| 626 </div> | 637 </div> |
| 627 </div> <!-- /gc-footer --> | 638 </div> <!-- /gc-footer --> |
| 628 </div> <!-- /gc-container --> | 639 </div> <!-- /gc-container --> |
| 629 </body></html> | 640 </body></html> |
| OLD | NEW |