API > wxt/browser > Browser > declarativeWebRequest
Namespace: declarativeWebRequest
Use the Browser.declarativeWebRequest API to intercept, block, or modify requests in-flight. It is significantly faster than the Browser.webRequest API because you can register rules that are evaluated in the browser rather than the JavaScript engine, which reduces roundtrip latencies and allows higher efficiency.
Permissions: "declarativeWebRequest"
MV2 only
Deprecated
Check out the declarativeNetRequest API instead
Index
Interfaces
- AddRequestCookie
- AddResponseCookie
- AddResponseHeader
- CancelRequest
- EditRequestCookie
- EditResponseCookie
- HeaderFilter
- IgnoreRules
- RedirectByRegEx
- RedirectRequest
- RedirectToEmptyDocument
- RedirectToTransparentImage
- RemoveRequestCookie
- RemoveRequestHeader
- RemoveResponseCookie
- RemoveResponseHeader
- RequestCookie
- RequestMatcher
- RequestedEvent
- ResponseCookie
- SetRequestHeader
Variables
Generated using typedoc-plugin-markdown and TypeDoc