autoupdate.html revision 21d179b334e59e9a3bfcaed4c4430bef1bc5759d
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 3 across api docs and should be edited only with knowledge of the 4 templating mechanism. 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 7 authored overview content. 8 4) The <body>.innerHTML is also generated by an offline step so that this 9 page may easily be indexed by search engines. 10--><html xmlns="http://www.w3.org/1999/xhtml"><head> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 12 <link href="css/ApiRefStyles.css" rel="stylesheet" type="text/css"> 13 <link href="css/print.css" rel="stylesheet" type="text/css" media="print"> 14 <script type="text/javascript" src="/third_party/jstemplate/jstemplate_compiled.js"> 15 </script> 16 <script type="text/javascript" src="js/api_page_generator.js"></script> 17 <script type="text/javascript" src="js/bootstrap.js"></script> 18 <script type="text/javascript" src="js/sidebar.js"></script> 19 <title>Autoupdating - Google Chrome Extensions - Google Code</title></head> 20 <body> <div id="gc-container" class="labs"> 21 <div id="devModeWarning"> 22 You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files. 23 </div> 24 <!-- SUBTEMPLATES: DO NOT MOVE FROM THIS LOCATION --> 25 <!-- In particular, sub-templates that recurse, must be used by allowing 26 jstemplate to make a copy of the template in this section which 27 are not operated on by way of the jsskip="true" --> 28 <div style="display:none"> 29 30 <!-- VALUE --> 31 <div id="valueTemplate"> 32 <dt> 33 <var>paramName</var> 34 <em> 35 36 <!-- TYPE --> 37 <div style="display:inline"> 38 ( 39 <span class="optional">optional</span> 40 <span class="enum">enumerated</span> 41 <span id="typeTemplate"> 42 <span> 43 <a> Type</a> 44 </span> 45 <span> 46 <span> 47 array of <span><span></span></span> 48 </span> 49 <span>paramType</span> 50 <span></span> 51 </span> 52 </span> 53 ) 54 </div> 55 56 </em> 57 </dt> 58 <dd class="todo"> 59 Undocumented. 60 </dd> 61 <dd> 62 Description of this parameter from the json schema. 63 </dd> 64 <dd> 65 This parameter was added in version 66 <b><span></span></b>. 67 You must omit this parameter in earlier versions, 68 and you may omit it in any version. If you require this 69 parameter, the manifest key 70 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 71 can ensure that your extension won't be run in an earlier browser version. 72 </dd> 73 74 <!-- OBJECT PROPERTIES --> 75 <dd> 76 <dl> 77 <div> 78 <div> 79 </div> 80 </div> 81 </dl> 82 </dd> 83 84 <!-- FUNCTION PARAMETERS --> 85 <dd> 86 <div></div> 87 </dd> 88 89 </div> <!-- /VALUE --> 90 91 <div id="functionParametersTemplate"> 92 <h5>Parameters</h5> 93 <dl> 94 <div> 95 <div> 96 </div> 97 </div> 98 </dl> 99 </div> 100 </div> <!-- /SUBTEMPLATES --> 101 102 <a id="top"></a> 103 <div id="skipto"> 104 <a href="#gc-pagecontent">Skip to page content</a> 105 <a href="#gc-toc">Skip to main navigation</a> 106 </div> 107 <!-- API HEADER --> 108 <table id="header" width="100%" cellspacing="0" border="0"> 109 <tbody><tr> 110 <td valign="middle"><a href="http://code.google.com/"><img src="images/code_labs_logo.gif" height="43" width="161" alt="Google Code Labs" style="border:0; margin:0;"></a></td> 111 <td valign="middle" width="100%" style="padding-left:0.6em;"> 112 <form action="http://www.google.com/cse" id="cse" style="margin-top:0.5em"> 113 <div id="gsc-search-box"> 114 <input type="hidden" name="cx" value="002967670403910741006:61_cvzfqtno"> 115 <input type="hidden" name="ie" value="UTF-8"> 116 <input type="text" name="q" value="" size="55"> 117 <input class="gsc-search-button" type="submit" name="sa" value="Search"> 118 <br> 119 <span class="greytext">e.g. "page action" or "tabs"</span> 120 </div> 121 </form> 122 123 <script type="text/javascript" src="http://www.google.com/jsapi"></script> 124 <script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script> 125 <script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse&t13n_langs=en"></script> 126 <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse&lang=en"></script> 127 </td> 128 </tr> 129 </tbody></table> 130 131 <div id="codesiteContent" class=""> 132 133 <a id="gc-topnav-anchor"></a> 134 <div id="gc-topnav"> 135 <h1>Google Chrome Extensions (<a href="http://code.google.com/labs/">Labs</a>)</h1> 136 <ul id="home" class="gc-topnav-tabs"> 137 <li id="home_link"> 138 <a href="index.html" title="Google Chrome Extensions home page">Home</a> 139 </li> 140 <li id="docs_link"> 141 <a href="docs.html" title="Official Google Chrome Extensions documentation">Docs</a> 142 </li> 143 <li id="faq_link"> 144 <a href="faq.html" title="Answers to frequently asked questions about Google Chrome Extensions">FAQ</a> 145 </li> 146 <li id="samples_link"> 147 <a href="samples.html" title="Sample extensions (with source code)">Samples</a> 148 </li> 149 <li id="group_link"> 150 <a href="http://groups.google.com/a/chromium.org/group/chromium-extensions" title="Google Chrome Extensions developer forum">Group</a> 151 </li> 152 </ul> 153 </div> <!-- end gc-topnav --> 154 155 <div class="g-section g-tpl-170"> 156 <!-- SIDENAV --> 157 <div class="g-unit g-first" id="gc-toc"> 158 <ul> 159 <li><a href="getstarted.html">Getting Started</a></li> 160 <li><a href="overview.html">Overview</a></li> 161 <li><a href="whats_new.html">What's New?</a></li> 162 <li><h2><a href="devguide.html">Developer's Guide</a></h2> 163 <ul> 164 <li>Browser UI 165 <ul> 166 <li><a href="browserAction.html">Browser Actions</a></li> 167 <li><a href="contextMenus.html">Context Menus</a></li> 168 <li><a href="notifications.html">Desktop Notifications</a></li> 169 <li><a href="omnibox.html">Omnibox</a></li> 170 <li><a href="options.html">Options Pages</a></li> 171 <li><a href="override.html">Override Pages</a></li> 172 <li><a href="pageAction.html">Page Actions</a></li> 173 </ul> 174 </li> 175 <li>Browser Interaction 176 <ul> 177 <li><a href="bookmarks.html">Bookmarks</a></li> 178 <li><a href="cookies.html">Cookies</a></li> 179 <li><a href="events.html">Events</a></li> 180 <li><a href="history.html">History</a></li> 181 <li><a href="management.html">Management</a></li> 182 <li><a href="tabs.html">Tabs</a></li> 183 <li><a href="windows.html">Windows</a></li> 184 </ul> 185 </li> 186 <li>Implementation 187 <ul> 188 <li><a href="a11y.html">Accessibility</a></li> 189 <li><a href="background_pages.html">Background Pages</a></li> 190 <li><a href="content_scripts.html">Content Scripts</a></li> 191 <li><a href="xhr.html">Cross-Origin XHR</a></li> 192 <li><a href="idle.html">Idle</a></li> 193 <li><a href="i18n.html">Internationalization</a></li> 194 <li><a href="messaging.html">Message Passing</a></li> 195 <li><a href="npapi.html">NPAPI Plugins</a></li> 196 </ul> 197 </li> 198 <li>Finishing 199 <ul> 200 <li><a href="hosting.html">Hosting</a></li> 201 <li><a href="external_extensions.html">Other Deployment Options</a></li> 202 </ul> 203 </li> 204 </ul> 205 </li> 206 <li><h2><a href="apps.html">Packaged Apps</a></h2></li> 207 <li><h2><a href="tutorials.html">Tutorials</a></h2> 208 <ul> 209 <li><a href="tut_debugging.html">Debugging</a></li> 210 <li><a href="tut_analytics.html">Google Analytics</a></li> 211 <li><a href="tut_oauth.html">OAuth</a></li> 212 </ul> 213 </li> 214 <li><h2>Reference</h2> 215 <ul> 216 <li>Formats 217 <ul> 218 <li><a href="manifest.html">Manifest Files</a></li> 219 <li><a href="match_patterns.html">Match Patterns</a></li> 220 </ul> 221 </li> 222 <li><a href="permission_warnings.html">Permission Warnings</a></li> 223 <li><a href="api_index.html">chrome.* APIs</a></li> 224 <li><a href="api_other.html">Other APIs</a></li> 225 </ul> 226 </li> 227 <li><h2><a href="samples.html">Samples</a></h2></li> 228 <div class="line"> </div> 229 <li><h2>More</h2> 230 <ul> 231 <li><a href="http://code.google.com/chrome/webstore/docs/index.html">Chrome Web Store</a></li> 232 <li><a href="http://code.google.com/chrome/apps/docs/developers_guide.html">Hosted Apps</a></li> 233 <li><a href="themes.html">Themes</a></li> 234 </ul> 235 </li> 236 </ul> 237 </div> 238 <script> 239 initToggles(); 240 </script> 241 242 <div class="g-unit" id="gc-pagecontent"> 243 <div id="pageTitle"> 244 <h1 class="page_title">Autoupdating</h1> 245 </div> 246 <!-- TABLE OF CONTENTS --> 247 <div id="toc"> 248 <h2>Contents</h2> 249 <ol> 250 <li> 251 <a href="#H2-0">Overview</a> 252 <ol> 253 <li style="display: none; "> 254 <a>h3Name</a> 255 </li> 256 </ol> 257 </li><li> 258 <a href="#H2-1">Update URL</a> 259 <ol> 260 <li style="display: none; "> 261 <a>h3Name</a> 262 </li> 263 </ol> 264 </li><li> 265 <a href="#H2-2">Update manifest</a> 266 <ol> 267 <li style="display: none; "> 268 <a>h3Name</a> 269 </li> 270 </ol> 271 </li><li> 272 <a href="#H2-3">Testing</a> 273 <ol> 274 <li style="display: none; "> 275 <a>h3Name</a> 276 </li> 277 </ol> 278 </li><li> 279 <a href="#H2-4">Advanced usage: request parameters</a> 280 <ol> 281 <li> 282 <a href="#H3-5">Future work</a> 283 </li> 284 </ol> 285 </li><li> 286 <a href="#H2-6">Advanced usage: minimum browser version</a> 287 <ol> 288 <li style="display: none; "> 289 <a>h3Name</a> 290 </li> 291 </ol> 292 </li> 293 <li style="display: none; "> 294 <a href="#apiReference">API reference</a> 295 <ol> 296 <li> 297 <a href="#properties">Properties</a> 298 <ol> 299 <li> 300 <a href="#property-anchor">propertyName</a> 301 </li> 302 </ol> 303 </li> 304 <li> 305 <a href="#methods">Methods</a> 306 <ol> 307 <li> 308 <a href="#method-anchor">methodName</a> 309 </li> 310 </ol> 311 </li> 312 <li> 313 <a href="#events">Events</a> 314 <ol> 315 <li> 316 <a href="#event-anchor">eventName</a> 317 </li> 318 </ol> 319 </li> 320 <li> 321 <a href="#types">Types</a> 322 <ol> 323 <li> 324 <a href="#id-anchor">id</a> 325 </li> 326 </ol> 327 </li> 328 </ol> 329 </li> 330 </ol> 331 </div> 332 <!-- /TABLE OF CONTENTS --> 333 334 <!-- Standard content lead-in for experimental API pages --> 335 <p id="classSummary" style="display: none; "> 336 For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page. 337 </p> 338 339 <!-- STATIC CONTENT PLACEHOLDER --> 340 <div id="static"><div id="pageData-name" class="pageData">Autoupdating</div> 341<div id="pageData-showTOC" class="pageData">true</div> 342 343<p>We want extensions to be autoupdated for some of the same reasons as Google Chrome itself: to incorporate bug and security fixes, add new features or performance enhancements, and improve user interfaces.</p> 344 345<p>If you publish your extension using the <a href="https://chrome.google.com/webstore/developer/dashboard">Chrome Developer Dashboard</a>, you can <em>ignore this page</em>. You can use the dashboard to release updated versions of your extension to users, as well as to the Extensions Gallery or Chrome Web Store.</p> 346 347<p>If you want to host your extension somewhere other than the gallery or store, keep reading. 348You should also read <a href="hosting.html">Hosting</a> and 349<a href="packaging.html">Packaging</a>.</p> 350 351 352<a name="H2-0"></a><h2>Overview</h2> 353<ul><li>An extension manifest may contain an "update_url" for doing update checks.</li> 354<li>The content returned by an update check is an "update manifest" XML document listing the latest version of an extension (or set of extensions, more on that later).</li></ul> 355 356<p>Every few hours, the browser will check if any installed extensions have an autoupdate URL. For each one, it will make a request to that URL looking for an update manifest XML file. If the update manifest mentions a version of an extension that is more recent than what's installed, it will download and install the new version. Similar to manual updates, the new crx must be signed with the same private key as the currently installed version.</p> 357 358 359<a name="H2-1"></a><h2>Update URL</h2> 360<p>For those who are hosting their own extensions, you need to add the "update_url" key to your <a href="manifest.html">manifest.json</a> file like this:</p> 361 362<pre>{ 363 "name": "My extension", 364 ... 365 <b>"update_url": "http://myhost.com/mytestextension/updates.xml"</b>, 366 ... 367} 368</pre> 369 370<a name="H2-2"></a><h2>Update manifest</h2> 371<p>The "update manifest" returned by the server should be an XML document that looks like this (parts you'll want to modify highlighted):</p> 372 373<pre><?xml version='1.0' encoding='UTF-8'?> 374<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> 375 <app appid='<b>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</b>'> 376 <updatecheck codebase='<b>http://myhost.com/mytestextension/mte_v2.crx</b>' version='<b>2.0</b>' /> 377 </app> 378</gupdate> 379</pre> 380 381<p>(This XML format is borrowed from that used by Omaha, Google's update infrastructure. See <a href="http://code.google.com/p/omaha/">http://code.google.com/p/omaha/</a> for more details.)</p> 382 383<p><b>appid</b><br> 384The 'appid' property is the extension id, generated based on a hash of the extension's public key as described in <a href="packaging.html">Packaging</a>. You can find out the id of your extension by going to <b>chrome://extensions</b>.</p> 385 386<p><b>codebase</b><br> 387The 'codebase' property is a URL to the crx file.</p> 388 389<p><b>version</b><br> 390This is used by the client to determine whether it should download the crx file at 'codebase'. It should match the version parameter in the crx file's manifest.json file.</p> 391<p>The update manifest XML file may contain information about multiple extensions by including multiple <code><app></code> tags.</p> 392 393 394<a name="H2-3"></a><h2>Testing</h2> 395<p>The default update check frequency is several hours, 396but you can force an update using the Extensions page's 397<b>Update extensions now</b> button. 398</p> 399 400<p> 401Another option is to use the --extensions-update-frequency command-line flag to set a more frequent interval in seconds. For instance, to make checks run every 45 seconds, you would run Google Chrome like this:</p> 402<pre>chrome.exe <b>--extensions-update-frequency=45</b></pre> 403 404<p>Note that this affects checks for all installed extensions, so consider the bandwidth and server load implications of this. You may want to temporarily uninstall all but the one extension you are testing with, and should not run with this option turned on during normal browser usage.</p> 405 406 407<a name="H2-4"></a><h2>Advanced usage: request parameters</h2> 408<p>The basic autoupdate mechanism is designed to make the server-side work as easy as just dropping a static XML file onto any plain webserver such as apache, and updating that XML file as you release new versions of your extension(s).</p> 409<p>More advanced developers may wish to take advantage of the fact that we add on parameters to the request for the update manifest to indicate the extension id and version. Then they can use the same update_url for all of their extensions pointing to a URL running dynamic server side code instead of a static XML file.</p> 410<p>The format of the request parameters is:</p> 411<p><code> ?x=<extension_data></code></p> 412<p>where <code><extension_data></code> is an URL-encoded string of the format:</p> 413<p><code> id=<id>&v=<version></code></p> 414 415<p>So for example, say we have two extensions installed</p> 416<p> Extension 1 with id "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" and version "1.1"<br> 417 Extension 2 with id "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" and version "0.4"</p> 418 419<p>and that both point at the same update_url: <code>http://test.com/extension_updates.php</code></p> 420 421<p>The two requests made would be:</p> 422<code>http://test.com/extension_updates.php?x=id%3Daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%26v%3D1.1</code> 423<br> 424<code>http://test.com/extension_updates.php?x=id%3Dbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb%26v%3D0.4</code> 425 426<p><b>Note</b>: in releases before 3.0.196.x there was a bug in how request parameters were put together (<a href="http://crbug.com/17469" rel="nofollow">http://crbug.com/17469</a>).</p> 427 428<a name="H3-5"></a><h3>Future work</h3> 429<p>While not implemented yet, we will eventually list multiple extensions in a single request for each unique update_url. For the above example, the request would end up being:</p> 430<p><code>http://test.com/extension_updates.php?x=id%3Daaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%26v%3D1.1&x=id%3Dbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb%26v%3D0.4</code></p> 431 432<p>If the number of installed extensions using the same update_url is large enough that a GET request URL would be too long (probably greater than 1024 characters or so), the update check will instead issue a POST with the request parameters in the POST body.</p> 433 434 435<a name="H2-6"></a><h2>Advanced usage: minimum browser version</h2> 436<p>As we add more APIs to the extensions system, it's possible you will want to release an updated version of an extension that will only work with newer versions of the browser. While Google Chrome itself is autoupdated, it can take a few days before the majority of the user base has updated to any given new release. To ensure that a given extension update will apply only to Google Chrome versions at or higher than a specific version, you would add the prodversionmin parameter to the <code><app></code> tag in your update manifest. For example:</p> 437 438<pre><?xml version='1.0' encoding='UTF-8'?> 439<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> 440 <app appid='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'> 441 <updatecheck codebase='http://myhost.com/mytestextension/mte_v2.crx' version='2.0' <b>prodversionmin='3.0.193.0'</b>/> 442 </app> 443</gupdate> 444</pre> 445 446<p>This would ensure that users of this extension would autoupdate to version 2 only if they are running Google Chrome 3.0.193.0 or greater.</p> 447 448</div> 449 450 <!-- API PAGE --> 451 <div class="apiPage" style="display: none; "> 452 <a name="apiReference"></a> 453 <h2>API reference: chrome.apiname </h2> 454 455 <!-- PROPERTIES --> 456 <div class="apiGroup"> 457 <a name="properties"></a> 458 <h3 id="properties">Properties</h3> 459 460 <div> 461 <a></a> 462 <h4>getLastError</h4> 463 <div class="summary"> 464 <!-- Note: intentionally longer 80 columns --> 465 <span>chrome.extension</span><span>lastError</span> 466 </div> 467 <div> 468 </div> 469 </div> 470 471 </div> <!-- /apiGroup --> 472 473 <!-- METHODS --> 474 <div class="apiGroup" id="methods"> 475 <a name="methods"></a> 476 <h3>Methods</h3> 477 478 <!-- iterates over all functions --> 479 <div class="apiItem"> 480 <a></a> <!-- method-anchor --> 481 <h4>method name</h4> 482 483 <div class="summary"><span>void</span> 484 <!-- Note: intentionally longer 80 columns --> 485 <span>chrome.module.methodName</span>(<span><span>, </span><span></span> 486 <var><span></span></var></span>)</div> 487 488 <div class="description"> 489 <p class="todo">Undocumented.</p> 490 <p> 491 A description from the json schema def of the function goes here. 492 </p> 493 494 <!-- PARAMETERS --> 495 <h4>Parameters</h4> 496 <dl> 497 <div> 498 <div> 499 </div> 500 </div> 501 </dl> 502 503 <!-- RETURNS --> 504 <h4>Returns</h4> 505 <dl> 506 <div> 507 <div> 508 </div> 509 </div> 510 </dl> 511 512 <!-- CALLBACK --> 513 <div> 514 <div> 515 <h4>Callback function</h4> 516 <p> 517 The callback <em>parameter</em> should specify a function 518 that looks like this: 519 </p> 520 <p> 521 If you specify the <em>callback</em> parameter, it should 522 specify a function that looks like this: 523 </p> 524 525 <!-- Note: intentionally longer 80 columns --> 526 <pre>function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> 527 <dl> 528 <div> 529 <div> 530 </div> 531 </div> 532 </dl> 533 </div> 534 </div> 535 536 <!-- MIN_VERSION --> 537 <p> 538 This function was added in version <b><span></span></b>. 539 If you require this function, the manifest key 540 <a href="manifest.html#minimum_chrome_version">minimum_chrome_version</a> 541 can ensure that your extension won't be run in an earlier browser version. 542 </p> 543 </div> <!-- /description --> 544 545 </div> <!-- /apiItem --> 546 547 </div> <!-- /apiGroup --> 548 549 <!-- EVENTS --> 550 <div class="apiGroup"> 551 <a name="events"></a> 552 <h3 id="events">Events</h3> 553 554 <!-- iterates over all events --> 555 <div class="apiItem"> 556 <a></a> 557 <h4>event name</h4> 558 559 <div class="summary"> 560 <!-- Note: intentionally longer 80 columns --> 561 <span class="subdued">chrome.bookmarks</span><span>onEvent</span><span class="subdued">.addListener</span>(function(<span>Type param1, Type param2</span>) <span class="subdued">{...}</span>); 562 </div> 563 564 <div class="description"> 565 <p class="todo">Undocumented.</p> 566 <p> 567 A description from the json schema def of the event goes here. 568 </p> 569 570 <!-- PARAMETERS --> 571 <h4>Parameters</h4> 572 <dl> 573 <div> 574 <div> 575 </div> 576 </div> 577 </dl> 578 579 </div> <!-- /decription --> 580 581 </div> <!-- /apiItem --> 582 583 </div> <!-- /apiGroup --> 584 585 <!-- TYPES --> 586 <div class="apiGroup"> 587 <a name="types"></a> 588 <h3 id="types">Types</h3> 589 590 <!-- iterates over all types --> 591 <div class="apiItem"> 592 <a></a> 593 <h4>type name</h4> 594 595 <div> 596 </div> 597 598 </div> <!-- /apiItem --> 599 600 </div> <!-- /apiGroup --> 601 602 </div> <!-- /apiPage --> 603 </div> <!-- /gc-pagecontent --> 604 </div> <!-- /g-section --> 605 </div> <!-- /codesiteContent --> 606 <div id="gc-footer" --=""> 607 <div class="text"> 608 <p> 609 Except as otherwise <a href="http://code.google.com/policies.html#restrictions">noted</a>, 610 the content of this page is licensed under the <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons 611 Attribution 3.0 License</a>, and code samples are licensed under the 612 <a rel="license" href="http://code.google.com/google_bsd_license.html">BSD License</a>. 613 </p> 614 <p> 615 ©2010 Google 616 </p> 617 618<!-- begin analytics --> 619<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> 620<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> 621 622<script type="text/javascript"> 623 // chrome doc tracking 624 try { 625 var engdocs = _gat._getTracker("YT-10763712-2"); 626 engdocs._trackPageview(); 627 } catch(err) {} 628 629 // code.google.com site-wide tracking 630 try { 631 _uacct="UA-18071-1"; 632 _uanchor=1; 633 _uff=0; 634 urchinTracker(); 635 } 636 catch(e) {/* urchinTracker not available. */} 637</script> 638<!-- end analytics --> 639 </div> 640 </div> <!-- /gc-footer --> 641 </div> <!-- /gc-container --> 642</body></html> 643