You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
WARNING: This is the BETA documentation. It may not work with the stable release of Chrome.
WARNING: This is unofficial documentation. It may not work with the current release of Chrome.

Google Chrome Extensions (Labs)

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.