Skip to content

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

Variables


Generated using typedoc-plugin-markdown and TypeDoc