OLD | NEW |
1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: | 1 <!DOCTYPE html><!-- This page is a placeholder for generated extensions api doc.
Note: |
2 1) The <head> information in this page is significant, should be uniform | 2 1) The <head> information in this page is significant, should be uniform |
3 across api docs and should be edited only with knowledge of the | 3 across api docs and should be edited only with knowledge of the |
4 templating mechanism. | 4 templating mechanism. |
5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a | 5 3) All <body>.innerHTML is genereated as an rendering step. If viewed in a |
6 browser, it will be re-generated from the template, json schema and | 6 browser, it will be re-generated from the template, json schema and |
7 authored overview content. | 7 authored overview content. |
8 4) The <body>.innerHTML is also generated by an offline step so that this | 8 4) The <body>.innerHTML is also generated by an offline step so that this |
9 page may easily be indexed by search engines. | 9 page may easily be indexed by search engines. |
10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> | 10 --><html xmlns="http://www.w3.org/1999/xhtml"><head> |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 <a href="#event-onResponseStarted">onResponseStarted</a> | 251 <a href="#event-onResponseStarted">onResponseStarted</a> |
252 </li><li> | 252 </li><li> |
253 <a href="#event-onSendHeaders">onSendHeaders</a> | 253 <a href="#event-onSendHeaders">onSendHeaders</a> |
254 </li> | 254 </li> |
255 </ol> | 255 </ol> |
256 </li> | 256 </li> |
257 <li> | 257 <li> |
258 <a href="#types">Types</a> | 258 <a href="#types">Types</a> |
259 <ol> | 259 <ol> |
260 <li> | 260 <li> |
261 <a href="#type-RequestFilter">null</a> | 261 <a href="#type-webRequest.RequestFilter">RequestFilter</a> |
262 <ol> | 262 <ol> |
263 </ol> | 263 </ol> |
264 </li><li> | 264 </li><li> |
265 <a href="#type-HttpHeaders">null</a> | 265 <a href="#type-webRequest.HttpHeaders">HttpHeaders</a> |
266 <ol> | 266 <ol> |
267 </ol> | 267 </ol> |
268 </li><li> | 268 </li><li> |
269 <a href="#type-BlockingResponse">null</a> | 269 <a href="#type-webRequest.BlockingResponse">BlockingResponse</a> |
270 <ol> | 270 <ol> |
271 </ol> | 271 </ol> |
272 </li> | 272 </li> |
273 </ol> | 273 </ol> |
274 </li> | 274 </li> |
275 </ol> | 275 </ol> |
276 </li> | 276 </li> |
277 </ol> | 277 </ol> |
278 </div> | 278 </div> |
279 <!-- /TABLE OF CONTENTS --> | 279 <!-- /TABLE OF CONTENTS --> |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 <!-- EVENTS --> | 608 <!-- EVENTS --> |
609 <div id="eventsTemplate" class="apiGroup"> | 609 <div id="eventsTemplate" class="apiGroup"> |
610 <a name="global-events"></a> | 610 <a name="global-events"></a> |
611 <h3>Events</h3> | 611 <h3>Events</h3> |
612 <!-- iterates over all events --> | 612 <!-- iterates over all events --> |
613 <div class="apiItem"> | 613 <div class="apiItem"> |
614 <a name="event-onAuthRequired"></a> | 614 <a name="event-onAuthRequired"></a> |
615 <h4>onAuthRequired</h4> | 615 <h4>onAuthRequired</h4> |
616 <div class="summary"> | 616 <div class="summary"> |
617 <!-- Note: intentionally longer 80 columns --> | 617 <!-- Note: intentionally longer 80 columns --> |
618 <span class="subdued">chrome.webRequest.</span><span>onAuthRequi
red</span><span class="subdued">.addListener</span>(function(<span>object detail
s, function callback</span>) <span class="subdued">{...}</span><span>, RequestFi
lter filter, array of string extraInfoSpec</span>); | 618 <span class="subdued">chrome.webRequest.</span><span>onAuthRequi
red</span><span class="subdued">.addListener</span>(function(<span>object detail
s, function callback</span>) <span class="subdued">{...}</span><span>, webReques
t.RequestFilter filter, array of string extraInfoSpec</span>); |
619 </div> | 619 </div> |
620 <div class="description"> | 620 <div class="description"> |
621 <p>Fired when an authentication failure is received. The listene
r has three options: it can provide authentication credentials, it can cancel th
e request and display the error page, or it can take no action on the challenge.
If bad user credentials are provided, this may be called multiple times for the
same request.</p> | 621 <p>Fired when an authentication failure is received. The listene
r has three options: it can provide authentication credentials, it can cancel th
e request and display the error page, or it can take no action on the challenge.
If bad user credentials are provided, this may be called multiple times for the
same request.</p> |
622 <!-- LISTENER PARAMETERS --> | 622 <!-- LISTENER PARAMETERS --> |
623 <div> | 623 <div> |
624 <h4>Listener parameters</h4> | 624 <h4>Listener parameters</h4> |
625 <dl> | 625 <dl> |
626 <div> | 626 <div> |
627 <div> | 627 <div> |
628 <dt> | 628 <dt> |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
986 <div> | 986 <div> |
987 <dt> | 987 <dt> |
988 <var>responseHeaders</var> | 988 <var>responseHeaders</var> |
989 <em> | 989 <em> |
990 <!-- TYPE --> | 990 <!-- TYPE --> |
991 <div style="display:inline"> | 991 <div style="display:inline"> |
992 ( | 992 ( |
993 <span class="optional">optional</span> | 993 <span class="optional">optional</span> |
994 <span id="typeTemplate"> | 994 <span id="typeTemplate"> |
995 <span> | 995 <span> |
996 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 996 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
997 </span> | 997 </span> |
998 </span> | 998 </span> |
999 ) | 999 ) |
1000 </div> | 1000 </div> |
1001 </em> | 1001 </em> |
1002 </dt> | 1002 </dt> |
1003 <dd>The HTTP response headers that were received along with this respo
nse.</dd> | 1003 <dd>The HTTP response headers that were received along with this respo
nse.</dd> |
1004 <!-- OBJECT PROPERTIES --> | 1004 <!-- OBJECT PROPERTIES --> |
1005 <!-- OBJECT METHODS --> | 1005 <!-- OBJECT METHODS --> |
1006 <!-- OBJECT EVENT FIELDS --> | 1006 <!-- OBJECT EVENT FIELDS --> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 <div> | 1073 <div> |
1074 <div> | 1074 <div> |
1075 <dt> | 1075 <dt> |
1076 <var>filter</var> | 1076 <var>filter</var> |
1077 <em> | 1077 <em> |
1078 <!-- TYPE --> | 1078 <!-- TYPE --> |
1079 <div style="display:inline"> | 1079 <div style="display:inline"> |
1080 ( | 1080 ( |
1081 <span id="typeTemplate"> | 1081 <span id="typeTemplate"> |
1082 <span> | 1082 <span> |
1083 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 1083 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
1084 </span> | 1084 </span> |
1085 </span> | 1085 </span> |
1086 ) | 1086 ) |
1087 </div> | 1087 </div> |
1088 </em> | 1088 </em> |
1089 </dt> | 1089 </dt> |
1090 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 1090 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
1091 <!-- OBJECT PROPERTIES --> | 1091 <!-- OBJECT PROPERTIES --> |
1092 <!-- OBJECT METHODS --> | 1092 <!-- OBJECT METHODS --> |
1093 <!-- OBJECT EVENT FIELDS --> | 1093 <!-- OBJECT EVENT FIELDS --> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 <div> | 1133 <div> |
1134 <div> | 1134 <div> |
1135 <dt> | 1135 <dt> |
1136 <em> | 1136 <em> |
1137 <!-- TYPE --> | 1137 <!-- TYPE --> |
1138 <div style="display:inline"> | 1138 <div style="display:inline"> |
1139 ( | 1139 ( |
1140 <span class="optional">optional</span> | 1140 <span class="optional">optional</span> |
1141 <span id="typeTemplate"> | 1141 <span id="typeTemplate"> |
1142 <span> | 1142 <span> |
1143 <a href="webRequest.html#type-BlockingResponse">Blocking
Response</a> | 1143 <a href="webRequest.html#type-webRequest.BlockingRespons
e">webRequest.BlockingResponse</a> |
1144 </span> | 1144 </span> |
1145 </span> | 1145 </span> |
1146 ) | 1146 ) |
1147 </div> | 1147 </div> |
1148 </em> | 1148 </em> |
1149 </dt> | 1149 </dt> |
1150 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> | 1150 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> |
1151 <!-- OBJECT PROPERTIES --> | 1151 <!-- OBJECT PROPERTIES --> |
1152 <!-- OBJECT METHODS --> | 1152 <!-- OBJECT METHODS --> |
1153 <!-- OBJECT EVENT FIELDS --> | 1153 <!-- OBJECT EVENT FIELDS --> |
1154 <!-- FUNCTION PARAMETERS --> | 1154 <!-- FUNCTION PARAMETERS --> |
1155 </div> | 1155 </div> |
1156 </div> | 1156 </div> |
1157 </dl> | 1157 </dl> |
1158 </div> <!-- /description --> | 1158 </div> <!-- /description --> |
1159 <!-- /description --> | 1159 <!-- /description --> |
1160 </div><div class="apiItem"> | 1160 </div><div class="apiItem"> |
1161 <a name="event-onBeforeRedirect"></a> | 1161 <a name="event-onBeforeRedirect"></a> |
1162 <h4>onBeforeRedirect</h4> | 1162 <h4>onBeforeRedirect</h4> |
1163 <div class="summary"> | 1163 <div class="summary"> |
1164 <!-- Note: intentionally longer 80 columns --> | 1164 <!-- Note: intentionally longer 80 columns --> |
1165 <span class="subdued">chrome.webRequest.</span><span>onBeforeRed
irect</span><span class="subdued">.addListener</span>(function(<span>object deta
ils</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, arra
y of string extraInfoSpec</span>); | 1165 <span class="subdued">chrome.webRequest.</span><span>onBeforeRed
irect</span><span class="subdued">.addListener</span>(function(<span>object deta
ils</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter f
ilter, array of string extraInfoSpec</span>); |
1166 </div> | 1166 </div> |
1167 <div class="description"> | 1167 <div class="description"> |
1168 <p>Fired when a server-initiated redirect is about to occur.</p> | 1168 <p>Fired when a server-initiated redirect is about to occur.</p> |
1169 <!-- LISTENER PARAMETERS --> | 1169 <!-- LISTENER PARAMETERS --> |
1170 <div> | 1170 <div> |
1171 <h4>Listener parameters</h4> | 1171 <h4>Listener parameters</h4> |
1172 <dl> | 1172 <dl> |
1173 <div> | 1173 <div> |
1174 <div> | 1174 <div> |
1175 <dt> | 1175 <dt> |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1478 <div> | 1478 <div> |
1479 <dt> | 1479 <dt> |
1480 <var>responseHeaders</var> | 1480 <var>responseHeaders</var> |
1481 <em> | 1481 <em> |
1482 <!-- TYPE --> | 1482 <!-- TYPE --> |
1483 <div style="display:inline"> | 1483 <div style="display:inline"> |
1484 ( | 1484 ( |
1485 <span class="optional">optional</span> | 1485 <span class="optional">optional</span> |
1486 <span id="typeTemplate"> | 1486 <span id="typeTemplate"> |
1487 <span> | 1487 <span> |
1488 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 1488 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
1489 </span> | 1489 </span> |
1490 </span> | 1490 </span> |
1491 ) | 1491 ) |
1492 </div> | 1492 </div> |
1493 </em> | 1493 </em> |
1494 </dt> | 1494 </dt> |
1495 <dd>The HTTP response headers that were received along with this redir
ect.</dd> | 1495 <dd>The HTTP response headers that were received along with this redir
ect.</dd> |
1496 <!-- OBJECT PROPERTIES --> | 1496 <!-- OBJECT PROPERTIES --> |
1497 <!-- OBJECT METHODS --> | 1497 <!-- OBJECT METHODS --> |
1498 <!-- OBJECT EVENT FIELDS --> | 1498 <!-- OBJECT EVENT FIELDS --> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 <div> | 1539 <div> |
1540 <div> | 1540 <div> |
1541 <dt> | 1541 <dt> |
1542 <var>filter</var> | 1542 <var>filter</var> |
1543 <em> | 1543 <em> |
1544 <!-- TYPE --> | 1544 <!-- TYPE --> |
1545 <div style="display:inline"> | 1545 <div style="display:inline"> |
1546 ( | 1546 ( |
1547 <span id="typeTemplate"> | 1547 <span id="typeTemplate"> |
1548 <span> | 1548 <span> |
1549 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 1549 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
1550 </span> | 1550 </span> |
1551 </span> | 1551 </span> |
1552 ) | 1552 ) |
1553 </div> | 1553 </div> |
1554 </em> | 1554 </em> |
1555 </dt> | 1555 </dt> |
1556 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 1556 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
1557 <!-- OBJECT PROPERTIES --> | 1557 <!-- OBJECT PROPERTIES --> |
1558 <!-- OBJECT METHODS --> | 1558 <!-- OBJECT METHODS --> |
1559 <!-- OBJECT EVENT FIELDS --> | 1559 <!-- OBJECT EVENT FIELDS --> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1596 <!-- LISTENER RETURN VALUE --> | 1596 <!-- LISTENER RETURN VALUE --> |
1597 <dl> | 1597 <dl> |
1598 </dl> | 1598 </dl> |
1599 </div> <!-- /description --> | 1599 </div> <!-- /description --> |
1600 <!-- /description --> | 1600 <!-- /description --> |
1601 </div><div class="apiItem"> | 1601 </div><div class="apiItem"> |
1602 <a name="event-onBeforeRequest"></a> | 1602 <a name="event-onBeforeRequest"></a> |
1603 <h4>onBeforeRequest</h4> | 1603 <h4>onBeforeRequest</h4> |
1604 <div class="summary"> | 1604 <div class="summary"> |
1605 <!-- Note: intentionally longer 80 columns --> | 1605 <!-- Note: intentionally longer 80 columns --> |
1606 <span class="subdued">chrome.webRequest.</span><span>onBeforeReq
uest</span><span class="subdued">.addListener</span>(function(<span>object detai
ls</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array
of string extraInfoSpec</span>); | 1606 <span class="subdued">chrome.webRequest.</span><span>onBeforeReq
uest</span><span class="subdued">.addListener</span>(function(<span>object detai
ls</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter fi
lter, array of string extraInfoSpec</span>); |
1607 </div> | 1607 </div> |
1608 <div class="description"> | 1608 <div class="description"> |
1609 <p>Fired when a request is about to occur.</p> | 1609 <p>Fired when a request is about to occur.</p> |
1610 <!-- LISTENER PARAMETERS --> | 1610 <!-- LISTENER PARAMETERS --> |
1611 <div> | 1611 <div> |
1612 <h4>Listener parameters</h4> | 1612 <h4>Listener parameters</h4> |
1613 <dl> | 1613 <dl> |
1614 <div> | 1614 <div> |
1615 <div> | 1615 <div> |
1616 <dt> | 1616 <dt> |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1839 <div> | 1839 <div> |
1840 <div> | 1840 <div> |
1841 <dt> | 1841 <dt> |
1842 <var>filter</var> | 1842 <var>filter</var> |
1843 <em> | 1843 <em> |
1844 <!-- TYPE --> | 1844 <!-- TYPE --> |
1845 <div style="display:inline"> | 1845 <div style="display:inline"> |
1846 ( | 1846 ( |
1847 <span id="typeTemplate"> | 1847 <span id="typeTemplate"> |
1848 <span> | 1848 <span> |
1849 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 1849 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
1850 </span> | 1850 </span> |
1851 </span> | 1851 </span> |
1852 ) | 1852 ) |
1853 </div> | 1853 </div> |
1854 </em> | 1854 </em> |
1855 </dt> | 1855 </dt> |
1856 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 1856 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
1857 <!-- OBJECT PROPERTIES --> | 1857 <!-- OBJECT PROPERTIES --> |
1858 <!-- OBJECT METHODS --> | 1858 <!-- OBJECT METHODS --> |
1859 <!-- OBJECT EVENT FIELDS --> | 1859 <!-- OBJECT EVENT FIELDS --> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1899 <div> | 1899 <div> |
1900 <div> | 1900 <div> |
1901 <dt> | 1901 <dt> |
1902 <em> | 1902 <em> |
1903 <!-- TYPE --> | 1903 <!-- TYPE --> |
1904 <div style="display:inline"> | 1904 <div style="display:inline"> |
1905 ( | 1905 ( |
1906 <span class="optional">optional</span> | 1906 <span class="optional">optional</span> |
1907 <span id="typeTemplate"> | 1907 <span id="typeTemplate"> |
1908 <span> | 1908 <span> |
1909 <a href="webRequest.html#type-BlockingResponse">Blocking
Response</a> | 1909 <a href="webRequest.html#type-webRequest.BlockingRespons
e">webRequest.BlockingResponse</a> |
1910 </span> | 1910 </span> |
1911 </span> | 1911 </span> |
1912 ) | 1912 ) |
1913 </div> | 1913 </div> |
1914 </em> | 1914 </em> |
1915 </dt> | 1915 </dt> |
1916 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> | 1916 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> |
1917 <!-- OBJECT PROPERTIES --> | 1917 <!-- OBJECT PROPERTIES --> |
1918 <!-- OBJECT METHODS --> | 1918 <!-- OBJECT METHODS --> |
1919 <!-- OBJECT EVENT FIELDS --> | 1919 <!-- OBJECT EVENT FIELDS --> |
1920 <!-- FUNCTION PARAMETERS --> | 1920 <!-- FUNCTION PARAMETERS --> |
1921 </div> | 1921 </div> |
1922 </div> | 1922 </div> |
1923 </dl> | 1923 </dl> |
1924 </div> <!-- /description --> | 1924 </div> <!-- /description --> |
1925 <!-- /description --> | 1925 <!-- /description --> |
1926 </div><div class="apiItem"> | 1926 </div><div class="apiItem"> |
1927 <a name="event-onBeforeSendHeaders"></a> | 1927 <a name="event-onBeforeSendHeaders"></a> |
1928 <h4>onBeforeSendHeaders</h4> | 1928 <h4>onBeforeSendHeaders</h4> |
1929 <div class="summary"> | 1929 <div class="summary"> |
1930 <!-- Note: intentionally longer 80 columns --> | 1930 <!-- Note: intentionally longer 80 columns --> |
1931 <span class="subdued">chrome.webRequest.</span><span>onBeforeSen
dHeaders</span><span class="subdued">.addListener</span>(function(<span>object d
etails</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, a
rray of string extraInfoSpec</span>); | 1931 <span class="subdued">chrome.webRequest.</span><span>onBeforeSen
dHeaders</span><span class="subdued">.addListener</span>(function(<span>object d
etails</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilte
r filter, array of string extraInfoSpec</span>); |
1932 </div> | 1932 </div> |
1933 <div class="description"> | 1933 <div class="description"> |
1934 <p>Fired before sending an HTTP request, once the request header
s are available. This may occur after a TCP connection is made to the server, bu
t before any HTTP data is sent. </p> | 1934 <p>Fired before sending an HTTP request, once the request header
s are available. This may occur after a TCP connection is made to the server, bu
t before any HTTP data is sent. </p> |
1935 <!-- LISTENER PARAMETERS --> | 1935 <!-- LISTENER PARAMETERS --> |
1936 <div> | 1936 <div> |
1937 <h4>Listener parameters</h4> | 1937 <h4>Listener parameters</h4> |
1938 <dl> | 1938 <dl> |
1939 <div> | 1939 <div> |
1940 <div> | 1940 <div> |
1941 <dt> | 1941 <dt> |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2151 <div> | 2151 <div> |
2152 <dt> | 2152 <dt> |
2153 <var>requestHeaders</var> | 2153 <var>requestHeaders</var> |
2154 <em> | 2154 <em> |
2155 <!-- TYPE --> | 2155 <!-- TYPE --> |
2156 <div style="display:inline"> | 2156 <div style="display:inline"> |
2157 ( | 2157 ( |
2158 <span class="optional">optional</span> | 2158 <span class="optional">optional</span> |
2159 <span id="typeTemplate"> | 2159 <span id="typeTemplate"> |
2160 <span> | 2160 <span> |
2161 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 2161 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
2162 </span> | 2162 </span> |
2163 </span> | 2163 </span> |
2164 ) | 2164 ) |
2165 </div> | 2165 </div> |
2166 </em> | 2166 </em> |
2167 </dt> | 2167 </dt> |
2168 <dd>The HTTP request headers that are going to be sent out with this r
equest.</dd> | 2168 <dd>The HTTP request headers that are going to be sent out with this r
equest.</dd> |
2169 <!-- OBJECT PROPERTIES --> | 2169 <!-- OBJECT PROPERTIES --> |
2170 <!-- OBJECT METHODS --> | 2170 <!-- OBJECT METHODS --> |
2171 <!-- OBJECT EVENT FIELDS --> | 2171 <!-- OBJECT EVENT FIELDS --> |
(...skipping 16 matching lines...) Expand all Loading... |
2188 <div> | 2188 <div> |
2189 <div> | 2189 <div> |
2190 <dt> | 2190 <dt> |
2191 <var>filter</var> | 2191 <var>filter</var> |
2192 <em> | 2192 <em> |
2193 <!-- TYPE --> | 2193 <!-- TYPE --> |
2194 <div style="display:inline"> | 2194 <div style="display:inline"> |
2195 ( | 2195 ( |
2196 <span id="typeTemplate"> | 2196 <span id="typeTemplate"> |
2197 <span> | 2197 <span> |
2198 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 2198 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
2199 </span> | 2199 </span> |
2200 </span> | 2200 </span> |
2201 ) | 2201 ) |
2202 </div> | 2202 </div> |
2203 </em> | 2203 </em> |
2204 </dt> | 2204 </dt> |
2205 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 2205 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
2206 <!-- OBJECT PROPERTIES --> | 2206 <!-- OBJECT PROPERTIES --> |
2207 <!-- OBJECT METHODS --> | 2207 <!-- OBJECT METHODS --> |
2208 <!-- OBJECT EVENT FIELDS --> | 2208 <!-- OBJECT EVENT FIELDS --> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2248 <div> | 2248 <div> |
2249 <div> | 2249 <div> |
2250 <dt> | 2250 <dt> |
2251 <em> | 2251 <em> |
2252 <!-- TYPE --> | 2252 <!-- TYPE --> |
2253 <div style="display:inline"> | 2253 <div style="display:inline"> |
2254 ( | 2254 ( |
2255 <span class="optional">optional</span> | 2255 <span class="optional">optional</span> |
2256 <span id="typeTemplate"> | 2256 <span id="typeTemplate"> |
2257 <span> | 2257 <span> |
2258 <a href="webRequest.html#type-BlockingResponse">Blocking
Response</a> | 2258 <a href="webRequest.html#type-webRequest.BlockingRespons
e">webRequest.BlockingResponse</a> |
2259 </span> | 2259 </span> |
2260 </span> | 2260 </span> |
2261 ) | 2261 ) |
2262 </div> | 2262 </div> |
2263 </em> | 2263 </em> |
2264 </dt> | 2264 </dt> |
2265 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> | 2265 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> |
2266 <!-- OBJECT PROPERTIES --> | 2266 <!-- OBJECT PROPERTIES --> |
2267 <!-- OBJECT METHODS --> | 2267 <!-- OBJECT METHODS --> |
2268 <!-- OBJECT EVENT FIELDS --> | 2268 <!-- OBJECT EVENT FIELDS --> |
2269 <!-- FUNCTION PARAMETERS --> | 2269 <!-- FUNCTION PARAMETERS --> |
2270 </div> | 2270 </div> |
2271 </div> | 2271 </div> |
2272 </dl> | 2272 </dl> |
2273 </div> <!-- /description --> | 2273 </div> <!-- /description --> |
2274 <!-- /description --> | 2274 <!-- /description --> |
2275 </div><div class="apiItem"> | 2275 </div><div class="apiItem"> |
2276 <a name="event-onCompleted"></a> | 2276 <a name="event-onCompleted"></a> |
2277 <h4>onCompleted</h4> | 2277 <h4>onCompleted</h4> |
2278 <div class="summary"> | 2278 <div class="summary"> |
2279 <!-- Note: intentionally longer 80 columns --> | 2279 <!-- Note: intentionally longer 80 columns --> |
2280 <span class="subdued">chrome.webRequest.</span><span>onCompleted
</span><span class="subdued">.addListener</span>(function(<span>object details</
span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array of
string extraInfoSpec</span>); | 2280 <span class="subdued">chrome.webRequest.</span><span>onCompleted
</span><span class="subdued">.addListener</span>(function(<span>object details</
span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter filter
, array of string extraInfoSpec</span>); |
2281 </div> | 2281 </div> |
2282 <div class="description"> | 2282 <div class="description"> |
2283 <p>Fired when a request is completed.</p> | 2283 <p>Fired when a request is completed.</p> |
2284 <!-- LISTENER PARAMETERS --> | 2284 <!-- LISTENER PARAMETERS --> |
2285 <div> | 2285 <div> |
2286 <h4>Listener parameters</h4> | 2286 <h4>Listener parameters</h4> |
2287 <dl> | 2287 <dl> |
2288 <div> | 2288 <div> |
2289 <div> | 2289 <div> |
2290 <dt> | 2290 <dt> |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2570 <div> | 2570 <div> |
2571 <dt> | 2571 <dt> |
2572 <var>responseHeaders</var> | 2572 <var>responseHeaders</var> |
2573 <em> | 2573 <em> |
2574 <!-- TYPE --> | 2574 <!-- TYPE --> |
2575 <div style="display:inline"> | 2575 <div style="display:inline"> |
2576 ( | 2576 ( |
2577 <span class="optional">optional</span> | 2577 <span class="optional">optional</span> |
2578 <span id="typeTemplate"> | 2578 <span id="typeTemplate"> |
2579 <span> | 2579 <span> |
2580 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 2580 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
2581 </span> | 2581 </span> |
2582 </span> | 2582 </span> |
2583 ) | 2583 ) |
2584 </div> | 2584 </div> |
2585 </em> | 2585 </em> |
2586 </dt> | 2586 </dt> |
2587 <dd>The HTTP response headers that were received along with this respo
nse.</dd> | 2587 <dd>The HTTP response headers that were received along with this respo
nse.</dd> |
2588 <!-- OBJECT PROPERTIES --> | 2588 <!-- OBJECT PROPERTIES --> |
2589 <!-- OBJECT METHODS --> | 2589 <!-- OBJECT METHODS --> |
2590 <!-- OBJECT EVENT FIELDS --> | 2590 <!-- OBJECT EVENT FIELDS --> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2631 <div> | 2631 <div> |
2632 <div> | 2632 <div> |
2633 <dt> | 2633 <dt> |
2634 <var>filter</var> | 2634 <var>filter</var> |
2635 <em> | 2635 <em> |
2636 <!-- TYPE --> | 2636 <!-- TYPE --> |
2637 <div style="display:inline"> | 2637 <div style="display:inline"> |
2638 ( | 2638 ( |
2639 <span id="typeTemplate"> | 2639 <span id="typeTemplate"> |
2640 <span> | 2640 <span> |
2641 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 2641 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
2642 </span> | 2642 </span> |
2643 </span> | 2643 </span> |
2644 ) | 2644 ) |
2645 </div> | 2645 </div> |
2646 </em> | 2646 </em> |
2647 </dt> | 2647 </dt> |
2648 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 2648 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
2649 <!-- OBJECT PROPERTIES --> | 2649 <!-- OBJECT PROPERTIES --> |
2650 <!-- OBJECT METHODS --> | 2650 <!-- OBJECT METHODS --> |
2651 <!-- OBJECT EVENT FIELDS --> | 2651 <!-- OBJECT EVENT FIELDS --> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2688 <!-- LISTENER RETURN VALUE --> | 2688 <!-- LISTENER RETURN VALUE --> |
2689 <dl> | 2689 <dl> |
2690 </dl> | 2690 </dl> |
2691 </div> <!-- /description --> | 2691 </div> <!-- /description --> |
2692 <!-- /description --> | 2692 <!-- /description --> |
2693 </div><div class="apiItem"> | 2693 </div><div class="apiItem"> |
2694 <a name="event-onErrorOccurred"></a> | 2694 <a name="event-onErrorOccurred"></a> |
2695 <h4>onErrorOccurred</h4> | 2695 <h4>onErrorOccurred</h4> |
2696 <div class="summary"> | 2696 <div class="summary"> |
2697 <!-- Note: intentionally longer 80 columns --> | 2697 <!-- Note: intentionally longer 80 columns --> |
2698 <span class="subdued">chrome.webRequest.</span><span>onErrorOccu
rred</span><span class="subdued">.addListener</span>(function(<span>object detai
ls</span>) <span class="subdued">{...}</span><span>, RequestFilter filter</span>
); | 2698 <span class="subdued">chrome.webRequest.</span><span>onErrorOccu
rred</span><span class="subdued">.addListener</span>(function(<span>object detai
ls</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter fi
lter</span>); |
2699 </div> | 2699 </div> |
2700 <div class="description"> | 2700 <div class="description"> |
2701 <p>Fired when an error occurs.</p> | 2701 <p>Fired when an error occurs.</p> |
2702 <!-- LISTENER PARAMETERS --> | 2702 <!-- LISTENER PARAMETERS --> |
2703 <div> | 2703 <div> |
2704 <h4>Listener parameters</h4> | 2704 <h4>Listener parameters</h4> |
2705 <dl> | 2705 <dl> |
2706 <div> | 2706 <div> |
2707 <div> | 2707 <div> |
2708 <dt> | 2708 <dt> |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3001 <div> | 3001 <div> |
3002 <div> | 3002 <div> |
3003 <dt> | 3003 <dt> |
3004 <var>filter</var> | 3004 <var>filter</var> |
3005 <em> | 3005 <em> |
3006 <!-- TYPE --> | 3006 <!-- TYPE --> |
3007 <div style="display:inline"> | 3007 <div style="display:inline"> |
3008 ( | 3008 ( |
3009 <span id="typeTemplate"> | 3009 <span id="typeTemplate"> |
3010 <span> | 3010 <span> |
3011 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 3011 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
3012 </span> | 3012 </span> |
3013 </span> | 3013 </span> |
3014 ) | 3014 ) |
3015 </div> | 3015 </div> |
3016 </em> | 3016 </em> |
3017 </dt> | 3017 </dt> |
3018 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 3018 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
3019 <!-- OBJECT PROPERTIES --> | 3019 <!-- OBJECT PROPERTIES --> |
3020 <!-- OBJECT METHODS --> | 3020 <!-- OBJECT METHODS --> |
3021 <!-- OBJECT EVENT FIELDS --> | 3021 <!-- OBJECT EVENT FIELDS --> |
3022 <!-- FUNCTION PARAMETERS --> | 3022 <!-- FUNCTION PARAMETERS --> |
3023 </div> | 3023 </div> |
3024 </div> | 3024 </div> |
3025 </dl> | 3025 </dl> |
3026 </div> | 3026 </div> |
3027 <!-- LISTENER RETURN VALUE --> | 3027 <!-- LISTENER RETURN VALUE --> |
3028 <dl> | 3028 <dl> |
3029 </dl> | 3029 </dl> |
3030 </div> <!-- /description --> | 3030 </div> <!-- /description --> |
3031 <!-- /description --> | 3031 <!-- /description --> |
3032 </div><div class="apiItem"> | 3032 </div><div class="apiItem"> |
3033 <a name="event-onHeadersReceived"></a> | 3033 <a name="event-onHeadersReceived"></a> |
3034 <h4>onHeadersReceived</h4> | 3034 <h4>onHeadersReceived</h4> |
3035 <div class="summary"> | 3035 <div class="summary"> |
3036 <!-- Note: intentionally longer 80 columns --> | 3036 <!-- Note: intentionally longer 80 columns --> |
3037 <span class="subdued">chrome.webRequest.</span><span>onHeadersRe
ceived</span><span class="subdued">.addListener</span>(function(<span>object dea
ils</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, arra
y of string extraInfoSpec</span>); | 3037 <span class="subdued">chrome.webRequest.</span><span>onHeadersRe
ceived</span><span class="subdued">.addListener</span>(function(<span>object dea
ils</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter f
ilter, array of string extraInfoSpec</span>); |
3038 </div> | 3038 </div> |
3039 <div class="description"> | 3039 <div class="description"> |
3040 <p>Fired when HTTP response headers of a request have been recei
ved.</p> | 3040 <p>Fired when HTTP response headers of a request have been recei
ved.</p> |
3041 <!-- LISTENER PARAMETERS --> | 3041 <!-- LISTENER PARAMETERS --> |
3042 <div> | 3042 <div> |
3043 <h4>Listener parameters</h4> | 3043 <h4>Listener parameters</h4> |
3044 <dl> | 3044 <dl> |
3045 <div> | 3045 <div> |
3046 <div> | 3046 <div> |
3047 <dt> | 3047 <dt> |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3281 <div> | 3281 <div> |
3282 <dt> | 3282 <dt> |
3283 <var>responseHeaders</var> | 3283 <var>responseHeaders</var> |
3284 <em> | 3284 <em> |
3285 <!-- TYPE --> | 3285 <!-- TYPE --> |
3286 <div style="display:inline"> | 3286 <div style="display:inline"> |
3287 ( | 3287 ( |
3288 <span class="optional">optional</span> | 3288 <span class="optional">optional</span> |
3289 <span id="typeTemplate"> | 3289 <span id="typeTemplate"> |
3290 <span> | 3290 <span> |
3291 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 3291 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
3292 </span> | 3292 </span> |
3293 </span> | 3293 </span> |
3294 ) | 3294 ) |
3295 </div> | 3295 </div> |
3296 </em> | 3296 </em> |
3297 </dt> | 3297 </dt> |
3298 <dd>The HTTP response headers that have been received with this respon
se.</dd> | 3298 <dd>The HTTP response headers that have been received with this respon
se.</dd> |
3299 <!-- OBJECT PROPERTIES --> | 3299 <!-- OBJECT PROPERTIES --> |
3300 <!-- OBJECT METHODS --> | 3300 <!-- OBJECT METHODS --> |
3301 <!-- OBJECT EVENT FIELDS --> | 3301 <!-- OBJECT EVENT FIELDS --> |
(...skipping 16 matching lines...) Expand all Loading... |
3318 <div> | 3318 <div> |
3319 <div> | 3319 <div> |
3320 <dt> | 3320 <dt> |
3321 <var>filter</var> | 3321 <var>filter</var> |
3322 <em> | 3322 <em> |
3323 <!-- TYPE --> | 3323 <!-- TYPE --> |
3324 <div style="display:inline"> | 3324 <div style="display:inline"> |
3325 ( | 3325 ( |
3326 <span id="typeTemplate"> | 3326 <span id="typeTemplate"> |
3327 <span> | 3327 <span> |
3328 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 3328 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
3329 </span> | 3329 </span> |
3330 </span> | 3330 </span> |
3331 ) | 3331 ) |
3332 </div> | 3332 </div> |
3333 </em> | 3333 </em> |
3334 </dt> | 3334 </dt> |
3335 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 3335 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
3336 <!-- OBJECT PROPERTIES --> | 3336 <!-- OBJECT PROPERTIES --> |
3337 <!-- OBJECT METHODS --> | 3337 <!-- OBJECT METHODS --> |
3338 <!-- OBJECT EVENT FIELDS --> | 3338 <!-- OBJECT EVENT FIELDS --> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3378 <div> | 3378 <div> |
3379 <div> | 3379 <div> |
3380 <dt> | 3380 <dt> |
3381 <em> | 3381 <em> |
3382 <!-- TYPE --> | 3382 <!-- TYPE --> |
3383 <div style="display:inline"> | 3383 <div style="display:inline"> |
3384 ( | 3384 ( |
3385 <span class="optional">optional</span> | 3385 <span class="optional">optional</span> |
3386 <span id="typeTemplate"> | 3386 <span id="typeTemplate"> |
3387 <span> | 3387 <span> |
3388 <a href="webRequest.html#type-BlockingResponse">Blocking
Response</a> | 3388 <a href="webRequest.html#type-webRequest.BlockingRespons
e">webRequest.BlockingResponse</a> |
3389 </span> | 3389 </span> |
3390 </span> | 3390 </span> |
3391 ) | 3391 ) |
3392 </div> | 3392 </div> |
3393 </em> | 3393 </em> |
3394 </dt> | 3394 </dt> |
3395 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> | 3395 <dd>If "blocking" is specified in the "extraInfoSpec" parameter, the e
vent listener should return an object of this type.</dd> |
3396 <!-- OBJECT PROPERTIES --> | 3396 <!-- OBJECT PROPERTIES --> |
3397 <!-- OBJECT METHODS --> | 3397 <!-- OBJECT METHODS --> |
3398 <!-- OBJECT EVENT FIELDS --> | 3398 <!-- OBJECT EVENT FIELDS --> |
3399 <!-- FUNCTION PARAMETERS --> | 3399 <!-- FUNCTION PARAMETERS --> |
3400 </div> | 3400 </div> |
3401 </div> | 3401 </div> |
3402 </dl> | 3402 </dl> |
3403 </div> <!-- /description --> | 3403 </div> <!-- /description --> |
3404 <!-- /description --> | 3404 <!-- /description --> |
3405 </div><div class="apiItem"> | 3405 </div><div class="apiItem"> |
3406 <a name="event-onResponseStarted"></a> | 3406 <a name="event-onResponseStarted"></a> |
3407 <h4>onResponseStarted</h4> | 3407 <h4>onResponseStarted</h4> |
3408 <div class="summary"> | 3408 <div class="summary"> |
3409 <!-- Note: intentionally longer 80 columns --> | 3409 <!-- Note: intentionally longer 80 columns --> |
3410 <span class="subdued">chrome.webRequest.</span><span>onResponseS
tarted</span><span class="subdued">.addListener</span>(function(<span>object det
ails</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, arr
ay of string extraInfoSpec</span>); | 3410 <span class="subdued">chrome.webRequest.</span><span>onResponseS
tarted</span><span class="subdued">.addListener</span>(function(<span>object det
ails</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter
filter, array of string extraInfoSpec</span>); |
3411 </div> | 3411 </div> |
3412 <div class="description"> | 3412 <div class="description"> |
3413 <p>Fired when the first byte of the response body is received. F
or HTTP requests, this means that the status line and response headers are avail
able.</p> | 3413 <p>Fired when the first byte of the response body is received. F
or HTTP requests, this means that the status line and response headers are avail
able.</p> |
3414 <!-- LISTENER PARAMETERS --> | 3414 <!-- LISTENER PARAMETERS --> |
3415 <div> | 3415 <div> |
3416 <h4>Listener parameters</h4> | 3416 <h4>Listener parameters</h4> |
3417 <dl> | 3417 <dl> |
3418 <div> | 3418 <div> |
3419 <div> | 3419 <div> |
3420 <dt> | 3420 <dt> |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3700 <div> | 3700 <div> |
3701 <dt> | 3701 <dt> |
3702 <var>responseHeaders</var> | 3702 <var>responseHeaders</var> |
3703 <em> | 3703 <em> |
3704 <!-- TYPE --> | 3704 <!-- TYPE --> |
3705 <div style="display:inline"> | 3705 <div style="display:inline"> |
3706 ( | 3706 ( |
3707 <span class="optional">optional</span> | 3707 <span class="optional">optional</span> |
3708 <span id="typeTemplate"> | 3708 <span id="typeTemplate"> |
3709 <span> | 3709 <span> |
3710 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 3710 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
3711 </span> | 3711 </span> |
3712 </span> | 3712 </span> |
3713 ) | 3713 ) |
3714 </div> | 3714 </div> |
3715 </em> | 3715 </em> |
3716 </dt> | 3716 </dt> |
3717 <dd>The HTTP response headers that were received along with this respo
nse.</dd> | 3717 <dd>The HTTP response headers that were received along with this respo
nse.</dd> |
3718 <!-- OBJECT PROPERTIES --> | 3718 <!-- OBJECT PROPERTIES --> |
3719 <!-- OBJECT METHODS --> | 3719 <!-- OBJECT METHODS --> |
3720 <!-- OBJECT EVENT FIELDS --> | 3720 <!-- OBJECT EVENT FIELDS --> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3761 <div> | 3761 <div> |
3762 <div> | 3762 <div> |
3763 <dt> | 3763 <dt> |
3764 <var>filter</var> | 3764 <var>filter</var> |
3765 <em> | 3765 <em> |
3766 <!-- TYPE --> | 3766 <!-- TYPE --> |
3767 <div style="display:inline"> | 3767 <div style="display:inline"> |
3768 ( | 3768 ( |
3769 <span id="typeTemplate"> | 3769 <span id="typeTemplate"> |
3770 <span> | 3770 <span> |
3771 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 3771 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
3772 </span> | 3772 </span> |
3773 </span> | 3773 </span> |
3774 ) | 3774 ) |
3775 </div> | 3775 </div> |
3776 </em> | 3776 </em> |
3777 </dt> | 3777 </dt> |
3778 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 3778 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
3779 <!-- OBJECT PROPERTIES --> | 3779 <!-- OBJECT PROPERTIES --> |
3780 <!-- OBJECT METHODS --> | 3780 <!-- OBJECT METHODS --> |
3781 <!-- OBJECT EVENT FIELDS --> | 3781 <!-- OBJECT EVENT FIELDS --> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3818 <!-- LISTENER RETURN VALUE --> | 3818 <!-- LISTENER RETURN VALUE --> |
3819 <dl> | 3819 <dl> |
3820 </dl> | 3820 </dl> |
3821 </div> <!-- /description --> | 3821 </div> <!-- /description --> |
3822 <!-- /description --> | 3822 <!-- /description --> |
3823 </div><div class="apiItem"> | 3823 </div><div class="apiItem"> |
3824 <a name="event-onSendHeaders"></a> | 3824 <a name="event-onSendHeaders"></a> |
3825 <h4>onSendHeaders</h4> | 3825 <h4>onSendHeaders</h4> |
3826 <div class="summary"> | 3826 <div class="summary"> |
3827 <!-- Note: intentionally longer 80 columns --> | 3827 <!-- Note: intentionally longer 80 columns --> |
3828 <span class="subdued">chrome.webRequest.</span><span>onSendHeade
rs</span><span class="subdued">.addListener</span>(function(<span>object details
</span>) <span class="subdued">{...}</span><span>, RequestFilter filter, array o
f string extraInfoSpec</span>); | 3828 <span class="subdued">chrome.webRequest.</span><span>onSendHeade
rs</span><span class="subdued">.addListener</span>(function(<span>object details
</span>) <span class="subdued">{...}</span><span>, webRequest.RequestFilter filt
er, array of string extraInfoSpec</span>); |
3829 </div> | 3829 </div> |
3830 <div class="description"> | 3830 <div class="description"> |
3831 <p>Fired just before a request is going to be sent to the server
(modifications of previous onBeforeSendHeaders callbacks are visible by the tim
e onSendHeaders is fired).</p> | 3831 <p>Fired just before a request is going to be sent to the server
(modifications of previous onBeforeSendHeaders callbacks are visible by the tim
e onSendHeaders is fired).</p> |
3832 <!-- LISTENER PARAMETERS --> | 3832 <!-- LISTENER PARAMETERS --> |
3833 <div> | 3833 <div> |
3834 <h4>Listener parameters</h4> | 3834 <h4>Listener parameters</h4> |
3835 <dl> | 3835 <dl> |
3836 <div> | 3836 <div> |
3837 <div> | 3837 <div> |
3838 <dt> | 3838 <dt> |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4048 <div> | 4048 <div> |
4049 <dt> | 4049 <dt> |
4050 <var>requestHeaders</var> | 4050 <var>requestHeaders</var> |
4051 <em> | 4051 <em> |
4052 <!-- TYPE --> | 4052 <!-- TYPE --> |
4053 <div style="display:inline"> | 4053 <div style="display:inline"> |
4054 ( | 4054 ( |
4055 <span class="optional">optional</span> | 4055 <span class="optional">optional</span> |
4056 <span id="typeTemplate"> | 4056 <span id="typeTemplate"> |
4057 <span> | 4057 <span> |
4058 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 4058 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
4059 </span> | 4059 </span> |
4060 </span> | 4060 </span> |
4061 ) | 4061 ) |
4062 </div> | 4062 </div> |
4063 </em> | 4063 </em> |
4064 </dt> | 4064 </dt> |
4065 <dd>The HTTP request headers that have been sent out with this request
.</dd> | 4065 <dd>The HTTP request headers that have been sent out with this request
.</dd> |
4066 <!-- OBJECT PROPERTIES --> | 4066 <!-- OBJECT PROPERTIES --> |
4067 <!-- OBJECT METHODS --> | 4067 <!-- OBJECT METHODS --> |
4068 <!-- OBJECT EVENT FIELDS --> | 4068 <!-- OBJECT EVENT FIELDS --> |
(...skipping 16 matching lines...) Expand all Loading... |
4085 <div> | 4085 <div> |
4086 <div> | 4086 <div> |
4087 <dt> | 4087 <dt> |
4088 <var>filter</var> | 4088 <var>filter</var> |
4089 <em> | 4089 <em> |
4090 <!-- TYPE --> | 4090 <!-- TYPE --> |
4091 <div style="display:inline"> | 4091 <div style="display:inline"> |
4092 ( | 4092 ( |
4093 <span id="typeTemplate"> | 4093 <span id="typeTemplate"> |
4094 <span> | 4094 <span> |
4095 <a href="webRequest.html#type-RequestFilter">RequestFilt
er</a> | 4095 <a href="webRequest.html#type-webRequest.RequestFilter">
webRequest.RequestFilter</a> |
4096 </span> | 4096 </span> |
4097 </span> | 4097 </span> |
4098 ) | 4098 ) |
4099 </div> | 4099 </div> |
4100 </em> | 4100 </em> |
4101 </dt> | 4101 </dt> |
4102 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> | 4102 <dd>A set of filters that restricts the events that will be sent to th
is listener.</dd> |
4103 <!-- OBJECT PROPERTIES --> | 4103 <!-- OBJECT PROPERTIES --> |
4104 <!-- OBJECT METHODS --> | 4104 <!-- OBJECT METHODS --> |
4105 <!-- OBJECT EVENT FIELDS --> | 4105 <!-- OBJECT EVENT FIELDS --> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4145 </div> <!-- /description --> | 4145 </div> <!-- /description --> |
4146 <!-- /description --> | 4146 <!-- /description --> |
4147 </div> <!-- /apiItem --> | 4147 </div> <!-- /apiItem --> |
4148 </div> <!-- /apiGroup --> | 4148 </div> <!-- /apiGroup --> |
4149 <!-- TYPES --> | 4149 <!-- TYPES --> |
4150 <div class="apiGroup"> | 4150 <div class="apiGroup"> |
4151 <a name="types"></a> | 4151 <a name="types"></a> |
4152 <h3 id="types">Types</h3> | 4152 <h3 id="types">Types</h3> |
4153 <!-- iterates over all types --> | 4153 <!-- iterates over all types --> |
4154 <div class="apiItem"> | 4154 <div class="apiItem"> |
4155 <a name="type-RequestFilter"></a> | 4155 <a name="type-webRequest.RequestFilter"></a> |
4156 <h4>RequestFilter</h4> | 4156 <h4>webRequest.RequestFilter</h4> |
4157 <div> | 4157 <div> |
4158 <dt> | 4158 <dt> |
4159 <em> | 4159 <em> |
4160 <!-- TYPE --> | 4160 <!-- TYPE --> |
4161 <div style="display:inline"> | 4161 <div style="display:inline"> |
4162 ( | 4162 ( |
4163 <span id="typeTemplate"> | 4163 <span id="typeTemplate"> |
4164 <span> | 4164 <span> |
4165 <span>object</span> | 4165 <span>object</span> |
4166 </span> | 4166 </span> |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4286 <!-- FUNCTION PARAMETERS --> | 4286 <!-- FUNCTION PARAMETERS --> |
4287 </div> | 4287 </div> |
4288 </div> | 4288 </div> |
4289 </dl> | 4289 </dl> |
4290 </dd> | 4290 </dd> |
4291 <!-- OBJECT METHODS --> | 4291 <!-- OBJECT METHODS --> |
4292 <!-- OBJECT EVENT FIELDS --> | 4292 <!-- OBJECT EVENT FIELDS --> |
4293 <!-- FUNCTION PARAMETERS --> | 4293 <!-- FUNCTION PARAMETERS --> |
4294 </div> | 4294 </div> |
4295 </div><div class="apiItem"> | 4295 </div><div class="apiItem"> |
4296 <a name="type-HttpHeaders"></a> | 4296 <a name="type-webRequest.HttpHeaders"></a> |
4297 <h4>HttpHeaders</h4> | 4297 <h4>webRequest.HttpHeaders</h4> |
4298 <div> | 4298 <div> |
4299 <dt> | 4299 <dt> |
4300 <em> | 4300 <em> |
4301 <!-- TYPE --> | 4301 <!-- TYPE --> |
4302 <div style="display:inline"> | 4302 <div style="display:inline"> |
4303 ( | 4303 ( |
4304 <span id="typeTemplate"> | 4304 <span id="typeTemplate"> |
4305 <span> | 4305 <span> |
4306 <span> | 4306 <span> |
4307 array of <span><span> | 4307 array of <span><span> |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4398 <!-- FUNCTION PARAMETERS --> | 4398 <!-- FUNCTION PARAMETERS --> |
4399 </div> | 4399 </div> |
4400 </div> | 4400 </div> |
4401 </dl> | 4401 </dl> |
4402 </dd> | 4402 </dd> |
4403 <!-- OBJECT METHODS --> | 4403 <!-- OBJECT METHODS --> |
4404 <!-- OBJECT EVENT FIELDS --> | 4404 <!-- OBJECT EVENT FIELDS --> |
4405 <!-- FUNCTION PARAMETERS --> | 4405 <!-- FUNCTION PARAMETERS --> |
4406 </div> | 4406 </div> |
4407 </div><div class="apiItem"> | 4407 </div><div class="apiItem"> |
4408 <a name="type-BlockingResponse"></a> | 4408 <a name="type-webRequest.BlockingResponse"></a> |
4409 <h4>BlockingResponse</h4> | 4409 <h4>webRequest.BlockingResponse</h4> |
4410 <div> | 4410 <div> |
4411 <dt> | 4411 <dt> |
4412 <em> | 4412 <em> |
4413 <!-- TYPE --> | 4413 <!-- TYPE --> |
4414 <div style="display:inline"> | 4414 <div style="display:inline"> |
4415 ( | 4415 ( |
4416 <span id="typeTemplate"> | 4416 <span id="typeTemplate"> |
4417 <span> | 4417 <span> |
4418 <span>object</span> | 4418 <span>object</span> |
4419 </span> | 4419 </span> |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4478 <div> | 4478 <div> |
4479 <dt> | 4479 <dt> |
4480 <var>requestHeaders</var> | 4480 <var>requestHeaders</var> |
4481 <em> | 4481 <em> |
4482 <!-- TYPE --> | 4482 <!-- TYPE --> |
4483 <div style="display:inline"> | 4483 <div style="display:inline"> |
4484 ( | 4484 ( |
4485 <span class="optional">optional</span> | 4485 <span class="optional">optional</span> |
4486 <span id="typeTemplate"> | 4486 <span id="typeTemplate"> |
4487 <span> | 4487 <span> |
4488 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 4488 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
4489 </span> | 4489 </span> |
4490 </span> | 4490 </span> |
4491 ) | 4491 ) |
4492 </div> | 4492 </div> |
4493 </em> | 4493 </em> |
4494 </dt> | 4494 </dt> |
4495 <dd>Only used as a response to the onBeforeSendHeaders event. If set,
the request is made with these request headers instead.</dd> | 4495 <dd>Only used as a response to the onBeforeSendHeaders event. If set,
the request is made with these request headers instead.</dd> |
4496 <!-- OBJECT PROPERTIES --> | 4496 <!-- OBJECT PROPERTIES --> |
4497 <!-- OBJECT METHODS --> | 4497 <!-- OBJECT METHODS --> |
4498 <!-- OBJECT EVENT FIELDS --> | 4498 <!-- OBJECT EVENT FIELDS --> |
4499 <!-- FUNCTION PARAMETERS --> | 4499 <!-- FUNCTION PARAMETERS --> |
4500 </div> | 4500 </div> |
4501 </div><div> | 4501 </div><div> |
4502 <div> | 4502 <div> |
4503 <dt> | 4503 <dt> |
4504 <var>responseHeaders</var> | 4504 <var>responseHeaders</var> |
4505 <em> | 4505 <em> |
4506 <!-- TYPE --> | 4506 <!-- TYPE --> |
4507 <div style="display:inline"> | 4507 <div style="display:inline"> |
4508 ( | 4508 ( |
4509 <span class="optional">optional</span> | 4509 <span class="optional">optional</span> |
4510 <span id="typeTemplate"> | 4510 <span id="typeTemplate"> |
4511 <span> | 4511 <span> |
4512 <a href="webRequest.html#type-HttpHeaders">HttpHeaders</
a> | 4512 <a href="webRequest.html#type-webRequest.HttpHeaders">we
bRequest.HttpHeaders</a> |
4513 </span> | 4513 </span> |
4514 </span> | 4514 </span> |
4515 ) | 4515 ) |
4516 </div> | 4516 </div> |
4517 </em> | 4517 </em> |
4518 </dt> | 4518 </dt> |
4519 <dd>Only used as a response to the onHeadersReceived event. If set, th
e server is assumed to have responded with these response headers instead. Only
return <code>responseHeaders</code> if you really want to modify the headers in
order to limit the number of conflicts (only one extension may modify <code>resp
onseHeaders</code> for each request).</dd> | 4519 <dd>Only used as a response to the onHeadersReceived event. If set, th
e server is assumed to have responded with these response headers instead. Only
return <code>responseHeaders</code> if you really want to modify the headers in
order to limit the number of conflicts (only one extension may modify <code>resp
onseHeaders</code> for each request).</dd> |
4520 <!-- OBJECT PROPERTIES --> | 4520 <!-- OBJECT PROPERTIES --> |
4521 <!-- OBJECT METHODS --> | 4521 <!-- OBJECT METHODS --> |
4522 <!-- OBJECT EVENT FIELDS --> | 4522 <!-- OBJECT EVENT FIELDS --> |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4650 _uff=0; | 4650 _uff=0; |
4651 urchinTracker(); | 4651 urchinTracker(); |
4652 } | 4652 } |
4653 catch(e) {/* urchinTracker not available. */} | 4653 catch(e) {/* urchinTracker not available. */} |
4654 </script> | 4654 </script> |
4655 <!-- end analytics --> | 4655 <!-- end analytics --> |
4656 </div> | 4656 </div> |
4657 </div> <!-- /gc-footer --> | 4657 </div> <!-- /gc-footer --> |
4658 </div> <!-- /gc-container --> | 4658 </div> <!-- /gc-container --> |
4659 </body></html> | 4659 </body></html> |
OLD | NEW |