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

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

Issue 11366067: Changing "allow for" to "allow" in the Declarative WebRequest docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <h2 id="notes">Notes</h2> 1 <h2 id="notes">Notes</h2>
2 2
3 <p> 3 <p>
4 Use the <code>chrome.declarativeWebRequest</code> module to intercept, block, or 4 Use the <code>chrome.declarativeWebRequest</code> module to intercept, block, or
5 modify requests in-flight. It is significantly faster than the <a 5 modify requests in-flight. It is significantly faster than the <a
6 href="webRequest.html"><code>chrome.webRequest</code> API</a> because you can 6 href="webRequest.html"><code>chrome.webRequest</code> API</a> because you can
7 register rules that are evaluated in the browser rather than the 7 register rules that are evaluated in the browser rather than the
8 JavaScript engine which reduces roundtrip latencies and allows for very high 8 JavaScript engine which reduces roundtrip latencies and allows very high
9 efficiency. 9 efficiency.
10 </p> 10 </p>
11 11
12 <h2 id="manifest">Manifest</h2> 12 <h2 id="manifest">Manifest</h2>
13 13
14 <p> 14 <p>
15 You must declare the "declarativeWebRequest" permission in the 15 You must declare the "declarativeWebRequest" permission in the
16 <a href="manifest.html">extension manifest</a> to use this API, 16 <a href="manifest.html">extension manifest</a> to use this API,
17 along with <a href="manifest.html#permissions">host permissions</a> for any 17 along with <a href="manifest.html#permissions">host permissions</a> for any
18 hosts whose network requests you want to access. 18 hosts whose network requests you want to access.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 chrome.declarativeWebRequest.onRequest.addRules([rule1, rule2]); 230 chrome.declarativeWebRequest.onRequest.addRules([rule1, rule2]);
231 </pre> 231 </pre>
232 232
233 <p> 233 <p>
234 It is important to recognize that the <code>IgnoreRules</code> action is not 234 It is important to recognize that the <code>IgnoreRules</code> action is not
235 persisted across <a href="#evaluation">request stages</a>. All conditions of 235 persisted across <a href="#evaluation">request stages</a>. All conditions of
236 all rules are evaluated at each stage of a web request. If an 236 all rules are evaluated at each stage of a web request. If an
237 <code>IgnoreRules</code> action is executed, it applies only to other actions 237 <code>IgnoreRules</code> action is executed, it applies only to other actions
238 that are executed for the same web request in the same stage. 238 that are executed for the same web request in the same stage.
239 </p> 239 </p>
OLDNEW
« 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