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

Unified Diff: chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html

Issue 22969004: Fix a host permissions typo in docs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
diff --git a/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html b/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
index 3a716c2b597b63895bd12f02c3f4f2f45f7c85e1..0ee6b933e14ad5317b8483669cf0cf030b5a2e59 100644
--- a/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
+++ b/chrome/common/extensions/docs/templates/intros/declarativeWebRequest.html
@@ -11,7 +11,7 @@ along with <a href="declare_permissions.html">host permissions</a>.
...
<b> "permissions": [
"declarativeWebRequest",
- "*://*.google.com"
+ "*://*/*"
]</b>,
...
}</pre>
@@ -34,8 +34,8 @@ for any hosts whose network requests you want to trigger a message.
All other actions require host permissions to all URLs.
</p>
<p>
-As an example, if <code>"*://*.google.com"</code> is the only host permission an
-extension has, than such an extension may set up a rule to
+As an example, if <code>"*://*.google.com/*"</code> is the only host permission
+an extension has, than such an extension may set up a rule to
<ul>
<li> cancel a request to "http://www.google.com" or "http://anything.else.com"
<li> send a message when navigating to "http://www.google.com" but not to
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698