experimental.webRequest
experimental.webRequest
The WebRequest
API is no longer experimental;
it's supported! You can read all about it at its new home:
chrome.webRequest
What you see below are early outcomes of the plan to implement a declarative
version of the WebRequest API. Please ignore this until we give notice.
API reference: chrome.experimental.webRequest
Events
onRequest
chrome.experimental.webRequest.onRequest.addListener(function() {...});
Types
RequestMatcher
(
object
)
Matches network events by various criteria. Experimental junk, do not use!
-
url
(
optional
string
)
- Matches for a full URL
-
instanceType
(
enumerated
string
["experimental.webRequest.RequestMatcher"]
)
-
Undocumented.
CancelRequest
(
object
)
Declarative event action that cancels a network request. Experimental junk, do not use!
-
instanceType
(
enumerated
string
["experimental.webRequest.CancelRequest"]
)
-
Undocumented.
ModifyRequest
(
object
)
Declarative event action that modifies a network request. Experimental junk, do not use!
-
instanceType
(
enumerated
string
["experimental.webRequest.ModifyRequest"]
)
-
Undocumented.