Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for webRequest.onBeforeRequest.
Developer library 6
Intercept HTTP requests
Two APIs are available for intercepting HTTP requests: webRequest and declarativeNetRequest.
Work with documentId
A documentId is a UUID string that identifies a unique document loaded in a tab or frame. This guide explains what documentId is, why …
webRequest
Add event listeners for the various stages of making an HTTP request, which includes websocket requests on ws:// and wss://. The event listener receives …
webRequest.onBeforeRequest
This event is triggered when a request is about to be made, and before headers are available. This is a good place to listen …
webRequest.filterResponseData()
Use this function to create a webRequest.StreamFilter object for a request. The stream filter gives the web extension full control over the stream …
webRequest.StreamFilter
A StreamFilter is an object you use to monitor and modify HTTP responses.