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

Unified Diff: chrome/common/extensions/docs/match_patterns.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/manifest.html ('k') | chrome/common/extensions/docs/npapi.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/match_patterns.html
===================================================================
--- chrome/common/extensions/docs/match_patterns.html (revision 26784)
+++ chrome/common/extensions/docs/match_patterns.html (working copy)
@@ -254,41 +254,41 @@
<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 @@
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 @@
<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&nbsp; </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 @@
<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/manifest.html ('k') | chrome/common/extensions/docs/npapi.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698