Index: chrome/common/extensions/docs/match_patterns.html |
diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/match_patterns.html |
index ef9ee74549c24f40329c00a5fc3e26f85bbfb6e8..149291317be2f4cce4cb7dfc1cb1d17aefaa666a 100644 |
--- a/chrome/common/extensions/docs/match_patterns.html |
+++ b/chrome/common/extensions/docs/match_patterns.html |
@@ -344,7 +344,8 @@ which URLs your content script affects. |
<p> |
A match pattern is essentially a URL |
that begins with a permitted scheme (<code>http</code>, |
-<code>https</code>, <code>file</code>, or <code>ftp</code>), |
+<code>https</code>, <code>file</code>, <code>ftp</code>, or |
+<code>chrome-extension</code>), |
and that can contain '<code>*</code>' characters. |
The special pattern |
<code><all_urls></code> matches any URL |
@@ -379,7 +380,7 @@ Each match pattern has 3 parts:</p> |
<p>Here's the basic syntax:</p> |
<pre><em><url-pattern></em> := <em><scheme></em>://<em><host></em><em><path></em> |
-<em><scheme></em> := '*' | 'http' | 'https' | 'file' | 'ftp' |
+<em><scheme></em> := '*' | 'http' | 'https' | 'file' | 'ftp' | 'chrome-extension' |
<em><host></em> := '*' | '*.' <em><any char except '/' and '*'></em>+ |
<em><path></em> := '/' <em><any chars></em> |
</pre> |
@@ -514,6 +515,21 @@ The following table shows some valid patterns. |
<tr> |
<td> |
+ <code>chrome-extension://*/* </code> |
+ </td> |
+ |
+ <td> |
+ Matches any URL pointing to an extension (the first <code>*</code> |
+ represents a filter for extension IDs, the second for paths). |
+ </td> |
+ |
+ <td> |
+ chrome-extension://askla...asdf/options.html |
+ </td> |
+</tr> |
+ |
+<tr> |
+ <td> |
<code><all_urls></code> |
</td> |
@@ -567,6 +583,10 @@ Here are some examples of <em>invalid</em> pattern matches: |
</tr> |
</tbody> |
</table> |
+ |
+<p> |
+Some schemes are not supported in all contexts. |
+</p> |
</div> |
<!-- API PAGE --> |