diff options
author | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 19:42:02 +0000 |
---|---|---|
committer | kathyw@google.com <kathyw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-22 19:42:02 +0000 |
commit | f09ef6740a2d3342dd41796e01916957d20b6586 (patch) | |
tree | 7b4134169406e6d597715569fa12cf2e664c2dd9 | |
parent | e678ffd499185578b5db6a7eec866d447ae7918c (diff) | |
download | chromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.zip chromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.tar.gz chromium_src-f09ef6740a2d3342dd41796e01916957d20b6586.tar.bz2 |
Modify the template to add analytics to all extension docs.
Besides the usual code.google.com analytics, there's also
an account for just Chrome-related docs.
Also deleted some end-of-line spaces to avoid presubmit errors.
TBR=rafaelw
Review URL: http://codereview.chromium.org/209067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26843 0039d316-1c4b-4281-b951-d872f2087c98
35 files changed, 713 insertions, 69 deletions
diff --git a/chrome/common/extensions/docs/api_index.html b/chrome/common/extensions/docs/api_index.html index 3dfb1e2..c462455 100755 --- a/chrome/common/extensions/docs/api_index.html +++ b/chrome/common/extensions/docs/api_index.html @@ -377,6 +377,29 @@ then you pass a callback function into the method. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/api_other.html index a505fe5..6b8860d 100755 --- a/chrome/common/extensions/docs/api_other.html +++ b/chrome/common/extensions/docs/api_other.html @@ -211,7 +211,7 @@ you can bundle additional API libraries into your extension. <dt><strong> Standard JavaScript APIs </strong></dt> <dd> These are the same core JavaScript and DOM APIs that you can use in ordinary web apps. - <span class="comment">[PENDING: check! should link to complete list]</span> + <span class="comment">[PENDING: check! should link to complete list]</span> <!-- Use onclick in your toolbar div to add click behavior. E.g. window.open(someUrl). --></dd> <dt><strong> XMLHttpRequest </strong></dt> @@ -219,7 +219,7 @@ E.g. window.open(someUrl). --></dd> Use <a href="xhr.html">XMLHttpRequest</a> to request data from one or more servers. The <a href="manifest.html#permissions">permissions</a> field - of the manifest specifies + of the manifest specifies which hosts the extension can send requests to. </dd> <dt><strong> WebKit APIs </strong></dt> @@ -412,6 +412,29 @@ just as they would in any other web pages. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/autoupdate.html b/chrome/common/extensions/docs/autoupdate.html index e497d1f..10b94bd 100755 --- a/chrome/common/extensions/docs/autoupdate.html +++ b/chrome/common/extensions/docs/autoupdate.html @@ -466,6 +466,29 @@ This is used by the client to determine whether it should download the crx file <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/background_pages.html b/chrome/common/extensions/docs/background_pages.html index 8174c67..84101a3 100755 --- a/chrome/common/extensions/docs/background_pages.html +++ b/chrome/common/extensions/docs/background_pages.html @@ -425,6 +425,29 @@ toolstrip.html (snippet): <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html index c240e43..3def109 100755 --- a/chrome/common/extensions/docs/bookmarks.html +++ b/chrome/common/extensions/docs/bookmarks.html @@ -272,7 +272,7 @@ Objects that represent bookmarks can have the following properties: <dt> <code>id</code> </dt> <dd> An integer ID that's unique for each bookmark. IDs are unique and persisted within the current profile and are - and stable across shutdown and startup of the browser. + and stable across shutdown and startup of the browser. </dd> <dt> <code>title</code> </dt> @@ -3572,6 +3572,29 @@ Here's some code you could use to create that hierarchy:</p> <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/content_scripts.html index d4ed27c..2972f75 100755 --- a/chrome/common/extensions/docs/content_scripts.html +++ b/chrome/common/extensions/docs/content_scripts.html @@ -625,6 +625,29 @@ document.getElementById("someImage").src = imgURL; <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html index 8f90a60..4acba3e 100755 --- a/chrome/common/extensions/docs/devguide.html +++ b/chrome/common/extensions/docs/devguide.html @@ -390,6 +390,29 @@ but here's what we have, so far: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/devtools.html b/chrome/common/extensions/docs/devtools.html index e74e89f..117447e 100755 --- a/chrome/common/extensions/docs/devtools.html +++ b/chrome/common/extensions/docs/devtools.html @@ -425,6 +425,29 @@ <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/events.html index f7df875..2e9cce1 100755 --- a/chrome/common/extensions/docs/events.html +++ b/chrome/common/extensions/docs/events.html @@ -396,6 +396,29 @@ bool hasListener(function callback(...)) <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html index 41dfc60..150f4dc 100755 --- a/chrome/common/extensions/docs/extension.html +++ b/chrome/common/extensions/docs/extension.html @@ -1475,6 +1475,29 @@ For details, see <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/getstarted.html index 7197fa4..a449f6a 100755 --- a/chrome/common/extensions/docs/getstarted.html +++ b/chrome/common/extensions/docs/getstarted.html @@ -567,6 +567,29 @@ and where to find more information.]</p> <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html index c97626e..bb16d05 100755 --- a/chrome/common/extensions/docs/i18n.html +++ b/chrome/common/extensions/docs/i18n.html @@ -458,6 +458,29 @@ string by separating each accept-language with ','. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html index 73f0eff..0a7318d 100755 --- a/chrome/common/extensions/docs/index.html +++ b/chrome/common/extensions/docs/index.html @@ -438,6 +438,29 @@ Also check out the discussion group: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html index 0dd5193..be7a2ce 100755 --- a/chrome/common/extensions/docs/manifest.html +++ b/chrome/common/extensions/docs/manifest.html @@ -235,7 +235,7 @@ are <b>name</b> and <b>version</b>. "<a href="#icons">icons</a>": { ... }, "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em>.xml", - "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", + "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", "<a href="content_scripts.html">content_scripts</a>": [...], "<a href="pageActions.html">page_actions</a>": [...], "<a href="#permissions">permissions</a>": [...], @@ -497,6 +497,29 @@ For more information, see <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/match_patterns.html index 06efbbb..93edbb9 100755 --- a/chrome/common/extensions/docs/match_patterns.html +++ b/chrome/common/extensions/docs/match_patterns.html @@ -254,41 +254,41 @@ The following table shows some valid patterns. <th>What it does</th> <th>Examples of matching URLs</th> </tr> - + <tr> <td> <code>http://*/*</code> </td> - + <td>Matches any URL that uses the <code>http</code> scheme</td> - + <td> http://www.google.com/<br> http://example.org/foo/bar.html </td> </tr> - + <tr> <td> <code>http://*/foo*</code> </td> - + <td> Matches any URL that uses the <code>http</code> scheme, on any host, as long as the path starts with <code>/foo</code> </td> - + <td> http://example.com/foo/bar.html<br> http://www.google.com/foo<b></b> </td> </tr> - + <tr> <td> <code>https://*.google.com/foo*bar </code> </td> - + <td> Matches any URL that uses the <code>https</code> scheme, is on a google.com host @@ -296,43 +296,43 @@ The following table shows some valid patterns. as long as the path starts with <code>/foo</code> and ends with <code>bar</code> </td> - + <td> http://www.google.com/foo/baz/bar<br> http://docs.google.com/foobar </td> </tr> - + <tr> <td> <code>http://example.org/foo/bar.html </code> </td> - + <td>Matches the specified URL</td> - + <td> http://example.org/foo/bar.html </td> </tr> - + <tr> <td> <code>file:///foo*</code> </td> - + <td>Matches any local file whose path starts with <code>/foo</code></td> - + <td> file:///foo/bar.html<br> file:///foo </td> </tr> - + <tr> <td> <code>http://127.0.0.1/*</code> </td> - + <td> Matches any URL that uses the <code>http</code> scheme and is on the host 127.0.0.1 @@ -355,27 +355,27 @@ Here are some examples of <em>invalid</em> pattern matches: <th>Bad pattern</th> <th>Why it's bad</th> </tr> - + <tr> <td><code>http://*</code></td> <td>No <em>path</em></td> </tr> - + <tr> <td><code>http://*foo/bar</code></td> <td>'*' in the <em>host</em> can be followed only by a '.' or '/'</td> </tr> - + <tr> <td><code>http://foo.*.bar/baz </code></td> <td>If '*' is in the <em>host</em>, it must be the first character</td> </tr> - + <tr> <td><code>http:/bar</code></td> <td>Missing <em>scheme</em> separator ("/" should be "//")</td> </tr> - + <tr> <td><code>foo://*</code></td> <td>Invalid <em>scheme</em></td> @@ -539,6 +539,29 @@ Here are some examples of <em>invalid</em> pattern matches: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/npapi.html b/chrome/common/extensions/docs/npapi.html index caf9fc4..98ce3db 100755 --- a/chrome/common/extensions/docs/npapi.html +++ b/chrome/common/extensions/docs/npapi.html @@ -199,7 +199,7 @@ Leveraging HTML and JavaScript makes developing new extensions really easy, but what if you have existing legacy or proprietary code -that you want to reuse in your extension? +that you want to reuse in your extension? You can bundle an NPAPI plugin with your extension, allowing you to call into native binary code from JavaScript. </p> @@ -218,11 +218,11 @@ follow these steps to get your extension using it. </p> <ol> - <li> + <li> Add a section to your extension's <code>manifest.json</code> that describes where to find the plugin, along with other properties about it: - + <pre>{ "name": "My extension", ... @@ -241,7 +241,7 @@ follow these steps to get your extension using it. meaning only your extension can load the plugin. </p> </li> - + <li> Create an HTML file that loads your plugin by mime-type. Assuming your mime-type is "application/x-my-extension": @@ -416,6 +416,29 @@ follow these steps to get your extension using it. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html index e8ceade..d41e749 100755 --- a/chrome/common/extensions/docs/overview.html +++ b/chrome/common/extensions/docs/overview.html @@ -260,7 +260,7 @@ in the form of and <a href="pageActions.html">page actions</a> (clickable badges in the address bar). Extensions can also interact programmatically -with browser features such as +with browser features such as <a href="bookmarks.html">bookmarks</a> and <a href="tabs.html">tabs</a>. </p> @@ -564,7 +564,7 @@ Here are some keys to communication between an extension's pages: </ul> <p> -Here's an example of +Here's an example of communication between toolstrips and the background page. </p> @@ -756,6 +756,29 @@ PENDING: summarize, suggest where to go next. Probably: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/packaging.html index eef3963..fe660f6 100755 --- a/chrome/common/extensions/docs/packaging.html +++ b/chrome/common/extensions/docs/packaging.html @@ -499,6 +499,29 @@ add <code>--no-message-box</code> to the command. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/pageActions.html b/chrome/common/extensions/docs/pageActions.html index c189d45..a6b8fa0 100755 --- a/chrome/common/extensions/docs/pageActions.html +++ b/chrome/common/extensions/docs/pageActions.html @@ -864,6 +864,29 @@ the RSS feed for the current page. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/static/api_other.html b/chrome/common/extensions/docs/static/api_other.html index 278ae50..e208ad2 100755 --- a/chrome/common/extensions/docs/static/api_other.html +++ b/chrome/common/extensions/docs/static/api_other.html @@ -16,7 +16,7 @@ you can bundle additional API libraries into your extension. <dt><strong> Standard JavaScript APIs </strong></dt> <dd> These are the same core JavaScript and DOM APIs that you can use in ordinary web apps. - <span class="comment">[PENDING: check! should link to complete list]</span> + <span class="comment">[PENDING: check! should link to complete list]</span> <!-- Use onclick in your toolbar div to add click behavior. E.g. window.open(someUrl). --></dd> <dt><strong> XMLHttpRequest </strong></dt> @@ -24,7 +24,7 @@ E.g. window.open(someUrl). --></dd> Use <a href="xhr.html">XMLHttpRequest</a> to request data from one or more servers. The <a href="manifest.html#permissions">permissions</a> field - of the manifest specifies + of the manifest specifies which hosts the extension can send requests to. </dd> <dt><strong> WebKit APIs </strong></dt> diff --git a/chrome/common/extensions/docs/static/bookmarks.html b/chrome/common/extensions/docs/static/bookmarks.html index 945ca0c..b0f1a90 100755 --- a/chrome/common/extensions/docs/static/bookmarks.html +++ b/chrome/common/extensions/docs/static/bookmarks.html @@ -48,7 +48,7 @@ Objects that represent bookmarks can have the following properties: <dt> <code>id</code> </dt> <dd> An integer ID that's unique for each bookmark. IDs are unique and persisted within the current profile and are - and stable across shutdown and startup of the browser. + and stable across shutdown and startup of the browser. </dd> <dt> <code>title</code> </dt> diff --git a/chrome/common/extensions/docs/static/manifest.html b/chrome/common/extensions/docs/static/manifest.html index 2811f05..8dea32b 100755 --- a/chrome/common/extensions/docs/static/manifest.html +++ b/chrome/common/extensions/docs/static/manifest.html @@ -26,7 +26,7 @@ are <b>name</b> and <b>version</b>. "<a href="#icons">icons</a>": { ... }, "<a href="autoupdate.html">update_url</a>": "http://<em>path/to/updateInfo</em>.xml", - "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", + "<a href="background_pages.html">background_page</a>": "<em>aFile</em>.html", "<a href="content_scripts.html">content_scripts</a>": [...], "<a href="pageActions.html">page_actions</a>": [...], "<a href="#permissions">permissions</a>": [...], diff --git a/chrome/common/extensions/docs/static/match_patterns.html b/chrome/common/extensions/docs/static/match_patterns.html index 98794ee..d08741f 100644 --- a/chrome/common/extensions/docs/static/match_patterns.html +++ b/chrome/common/extensions/docs/static/match_patterns.html @@ -59,41 +59,41 @@ The following table shows some valid patterns. <th>What it does</th> <th>Examples of matching URLs</th> </tr> - + <tr> <td> <code>http://*/*</code> </td> - + <td>Matches any URL that uses the <code>http</code> scheme</td> - + <td> http://www.google.com/<br> http://example.org/foo/bar.html </td> </tr> - + <tr> <td> <code>http://*/foo*</code> </td> - + <td> Matches any URL that uses the <code>http</code> scheme, on any host, as long as the path starts with <code>/foo</code> </td> - + <td> http://example.com/foo/bar.html<br> http://www.google.com/foo<b></b> </td> </tr> - + <tr> <td> <code>https://*.google.com/foo*bar </code> </td> - + <td> Matches any URL that uses the <code>https</code> scheme, is on a google.com host @@ -101,43 +101,43 @@ The following table shows some valid patterns. as long as the path starts with <code>/foo</code> and ends with <code>bar</code> </td> - + <td> http://www.google.com/foo/baz/bar<br> http://docs.google.com/foobar </td> </tr> - + <tr> <td> <code>http://example.org/foo/bar.html </code> </td> - + <td>Matches the specified URL</td> - + <td> http://example.org/foo/bar.html </td> </tr> - + <tr> <td> <code>file:///foo*</code> </td> - + <td>Matches any local file whose path starts with <code>/foo</code></td> - + <td> file:///foo/bar.html<br> file:///foo </td> </tr> - + <tr> <td> <code>http://127.0.0.1/*</code> </td> - + <td> Matches any URL that uses the <code>http</code> scheme and is on the host 127.0.0.1 @@ -160,27 +160,27 @@ Here are some examples of <em>invalid</em> pattern matches: <th>Bad pattern</th> <th>Why it's bad</th> </tr> - + <tr> <td><code>http://*</code></td> <td>No <em>path</em></td> </tr> - + <tr> <td><code>http://*foo/bar</code></td> <td>'*' in the <em>host</em> can be followed only by a '.' or '/'</td> </tr> - + <tr> <td><code>http://foo.*.bar/baz </code></td> <td>If '*' is in the <em>host</em>, it must be the first character</td> </tr> - + <tr> <td><code>http:/bar</code></td> <td>Missing <em>scheme</em> separator ("/" should be "//")</td> </tr> - + <tr> <td><code>foo://*</code></td> <td>Invalid <em>scheme</em></td> diff --git a/chrome/common/extensions/docs/static/npapi.html b/chrome/common/extensions/docs/static/npapi.html index 0f8a1eb..74c3554 100644 --- a/chrome/common/extensions/docs/static/npapi.html +++ b/chrome/common/extensions/docs/static/npapi.html @@ -4,7 +4,7 @@ Leveraging HTML and JavaScript makes developing new extensions really easy, but what if you have existing legacy or proprietary code -that you want to reuse in your extension? +that you want to reuse in your extension? You can bundle an NPAPI plugin with your extension, allowing you to call into native binary code from JavaScript. </p> @@ -23,11 +23,11 @@ follow these steps to get your extension using it. </p> <ol> - <li> + <li> Add a section to your extension's <code>manifest.json</code> that describes where to find the plugin, along with other properties about it: - + <pre>{ "name": "My extension", ... @@ -46,7 +46,7 @@ follow these steps to get your extension using it. meaning only your extension can load the plugin. </p> </li> - + <li> Create an HTML file that loads your plugin by mime-type. Assuming your mime-type is "application/x-my-extension": diff --git a/chrome/common/extensions/docs/static/overview.html b/chrome/common/extensions/docs/static/overview.html index d35d9cd..f9b8741 100755 --- a/chrome/common/extensions/docs/static/overview.html +++ b/chrome/common/extensions/docs/static/overview.html @@ -33,7 +33,7 @@ in the form of and <a href="pageActions.html">page actions</a> (clickable badges in the address bar). Extensions can also interact programmatically -with browser features such as +with browser features such as <a href="bookmarks.html">bookmarks</a> and <a href="tabs.html">tabs</a>. </p> @@ -340,7 +340,7 @@ Here are some keys to communication between an extension's pages: </ul> <p> -Here's an example of +Here's an example of communication between toolstrips and the background page. </p> diff --git a/chrome/common/extensions/docs/static/xhr.html b/chrome/common/extensions/docs/static/xhr.html index 6902f2a..3a10dc8 100755 --- a/chrome/common/extensions/docs/static/xhr.html +++ b/chrome/common/extensions/docs/static/xhr.html @@ -35,8 +35,8 @@ unless the extension has requested the appropriate cross-origin permissions. <h2 id="requesting-permission">Requesting cross-origin permissions</h2> <p>By adding hosts or host match patterns (or both) to the -<a href="manifest.html#permissions">permissions<a> section of the -<a href="manifest.html">manifest</a> file, the extension can request access to +<a href="manifest.html#permissions">permissions</a> section of the +<a href="manifest.html">manifest</a> file, the extension can request access to remote servers outside of its origin.</p> <pre>"permissions": [ diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html index 7c76c18..c886b4c 100755 --- a/chrome/common/extensions/docs/tabs.html +++ b/chrome/common/extensions/docs/tabs.html @@ -4515,6 +4515,29 @@ For example: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html index 1e1bba8..508c506 100755 --- a/chrome/common/extensions/docs/template/api_template.html +++ b/chrome/common/extensions/docs/template/api_template.html @@ -106,7 +106,7 @@ </li> <li>Reference <ul> - <li> Formats</a> + <li> Formats <ul> <li><a href="manifest.html">Manifest Files</a></li> <li><a href="match_patterns.html">Match Patterns</a></li> @@ -346,5 +346,28 @@ <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> diff --git a/chrome/common/extensions/docs/test.html b/chrome/common/extensions/docs/test.html index c7f0c59..09988e4 100755 --- a/chrome/common/extensions/docs/test.html +++ b/chrome/common/extensions/docs/test.html @@ -577,6 +577,29 @@ <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/themes.html b/chrome/common/extensions/docs/themes.html index de185aa..435f8e4 100755 --- a/chrome/common/extensions/docs/themes.html +++ b/chrome/common/extensions/docs/themes.html @@ -481,6 +481,29 @@ to specify <em>no change</em>. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/toolstrip.html b/chrome/common/extensions/docs/toolstrip.html index ef0899f..33858f0 100755 --- a/chrome/common/extensions/docs/toolstrip.html +++ b/chrome/common/extensions/docs/toolstrip.html @@ -763,6 +763,29 @@ you can do with toolstrips. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/tut_debugging.html b/chrome/common/extensions/docs/tut_debugging.html index 878bba1..2f842af 100755 --- a/chrome/common/extensions/docs/tut_debugging.html +++ b/chrome/common/extensions/docs/tut_debugging.html @@ -482,6 +482,29 @@ Suggest where to go next.]</p> <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/tutorials.html b/chrome/common/extensions/docs/tutorials.html index 33aff28..f807aa1 100755 --- a/chrome/common/extensions/docs/tutorials.html +++ b/chrome/common/extensions/docs/tutorials.html @@ -359,6 +359,29 @@ Here's what we have, so far: <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html index 9291dc5..0abe73f 100755 --- a/chrome/common/extensions/docs/windows.html +++ b/chrome/common/extensions/docs/windows.html @@ -2423,6 +2423,29 @@ the value of the current window falls back to the topmost window. <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html index 1d53436..beae3ea 100755 --- a/chrome/common/extensions/docs/xhr.html +++ b/chrome/common/extensions/docs/xhr.html @@ -229,8 +229,8 @@ unless the extension has requested the appropriate cross-origin permissions. <h2 id="requesting-permission">Requesting cross-origin permissions</h2> <p>By adding hosts or host match patterns (or both) to the -<a href="manifest.html#permissions">permissions</a><a> section of the -</a><a href="manifest.html">manifest</a> file, the extension can request access to +<a href="manifest.html#permissions">permissions</a> section of the +<a href="manifest.html">manifest</a> file, the extension can request access to remote servers outside of its origin.</p> <pre>"permissions": [ @@ -428,6 +428,29 @@ of hosts, it must declare the permissions separately:</p> <p> ©2009 Google </p> + +<!-- begin analytics --> +<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> +<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> + +<script type="text/javascript"> + // chrome doc tracking + try { + var engdocs = _gat._getTracker("YT-10763712-2"); + engdocs._trackPageview(); + } catch(err) {} + + // code.google.com site-wide tracking + try { + _uacct="UA-18071-1"; + _uanchor=1; + _uff=0; + urchinTracker(); + } + catch(e) {/* urchinTracker not available. */} +</script> +<!-- end analytics --> + </div> <!-- /pageFooter --> </div> <!-- /container --> </body></html> |