Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3795)

Unified Diff: chrome/common/extensions/docs/api_other.html

Issue 209067: Modify the template to add analytics to all extension docs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/docs/api_index.html ('k') | chrome/common/extensions/docs/autoupdate.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/api_other.html
===================================================================
--- chrome/common/extensions/docs/api_other.html (revision 26784)
+++ chrome/common/extensions/docs/api_other.html (working copy)
@@ -211,7 +211,7 @@
<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 @@
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 @@
<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>
« no previous file with comments | « chrome/common/extensions/docs/api_index.html ('k') | chrome/common/extensions/docs/autoupdate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698