OLD | NEW |
1 <!-- BEGIN AUTHORED CONTENT --> | |
2 | |
3 <h2 id="notes">Notes</h2> | 1 <h2 id="notes">Notes</h2> |
4 | 2 |
5 <p> | 3 <p> |
6 Use the <code>chrome.declarativeWebRequest</code> module to intercept, block, or | 4 Use the <code>chrome.declarativeWebRequest</code> module to intercept, block, or |
7 modify requests in-flight. It is significantly faster than the <a | 5 modify requests in-flight. It is significantly faster than the <a |
8 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 |
9 register rules that are evaluated in the browser rather than the | 7 register rules that are evaluated in the browser rather than the |
10 JavaScript engine which reduces roundtrip latencies and allows for very high | 8 JavaScript engine which reduces roundtrip latencies and allows for very high |
11 efficiency. | 9 efficiency. |
12 </p> | 10 </p> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 very fast URL matching algorithm for hundreds of thousands of URLs. | 109 very fast URL matching algorithm for hundreds of thousands of URLs. |
112 </p> | 110 </p> |
113 | 111 |
114 <h2 id="TODO">Todo</h2> | 112 <h2 id="TODO">Todo</h2> |
115 <ul> | 113 <ul> |
116 <li>Explain precedences, once we can ignore rules based on their priority | 114 <li>Explain precedences, once we can ignore rules based on their priority |
117 (e.g. how can I cancel all requests except for a specific whitelist?) | 115 (e.g. how can I cancel all requests except for a specific whitelist?) |
118 <li>Explain when conditions can be evaluated, when actions can be executed, | 116 <li>Explain when conditions can be evaluated, when actions can be executed, |
119 and when rules can be executed (e.g. you cannot cancel a request when you | 117 and when rules can be executed (e.g. you cannot cancel a request when you |
120 have received the response already) | 118 have received the response already) |
121 </ul> | 119 </ul> |
122 | |
123 <!-- END AUTHORED CONTENT --> | |
OLD | NEW |