GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

5 results across 6 corpora for webRequest.onCompleted.

Developer library 5

Work with documentId

ation.getAllFrames() use `tabId` and `frameId` to look up or enumerate frame details. - **Events**: Navigation events (webNavigation.onCommitted, webNavigation.onCompleted, and others), request events (webRequest.onBeforeRequest and others), and proxy.onRequest all include `tabId` and `frameId` to identify where an event occurred. Because `frameId` identifies the frame rather than its content, there is a potential r

webNavigation

of the primary flow and additional flows described below.](we-flow.png) - The primary flow is: - onBeforeNavigate - onCommitted - onDOMContentLoaded - onCompleted. - Additionally: - onCreatedNavigationTarget is fired before `onBeforeNavigate` if the browser needed to create a new tab or window for the navigation (for example, because the user opened a link in a new tab). - onHistoryStateUpdated is fired

webRequest

est. The sequence of events is like this: ![Order of requests is onBeforeRequest, onBeforeSendHeader, onSendHeaders, onHeadersReceived, onResponseStarted, and onCompleted. The onHeadersReceived can cause an onBeforeRedirect and an onAuthRequired. Events caused by onHeadersReceived start at the beginning onBeforeRequest. Events caused by onAuthRequired start at onBeforeSendHeader.](webrequest-flow.png) However, not

webRequest.onAuthRequired

ials: myCredentials }; } browser.webRequest.onAuthRequired.addListener( provideCredentialsSync, { urls: [target] }, ["blocking"], ); browser.webRequest.onCompleted.addListener(completed, { urls: [target] }); browser.webRequest.onErrorOccurred.addListener(completed, { urls: [target] }); ``` This code supplies credentials asynchronously, fetching them from storage. It also keeps track of outstanding requests

webRequest.onCompleted

Fired when a request has completed. This event is informational only. ## Syntax ```js-nolint browser.webRequest.onCompleted.addListener( listener, // function filter, // object extraInfoSpec // optional array of strings ) browser.webRequest.onCompleted.removeListener(listener) browser.webRequest.onCompleted.hasListener(listener) ``` Events have three functions: - `addLis

JSON results · Services directory