Cause of the navigation. The same transition types as defined in the history API are used. These are the same transition types as defined in the history API except with "start_page" in place of "auto_toplevel" (for backwards compatibility).
ConstonFired when a navigation is about to occur.
ConstonFired when a navigation is committed. The document (and the resources it refers to, such as images and subframes) might still be downloading, but at least part of the document has been received from the server and the browser has decided to switch to the new document.
ConstonFired when a document, including the resources it refers to, is completely loaded and initialized.
ConstonFired when a new window, or a new tab in an existing window, is created to host a navigation.
ConstonFired when the page's DOM is fully constructed, but the referenced resources may not finish loading.
ConstonFired when an error occurs and the navigation is aborted. This can happen if either a network error occurred, or the user aborted the navigation.
ConstonFired when the frame's history was updated to a new URL. All future events for that frame will use the updated URL.
ConstonFired when the reference fragment of a frame was updated. All future events for that frame will use the updated URL.
ConstonFired when the contents of the tab is replaced by a different (usually previously pre-rendered) tab.
Retrieves information about all frames of a given tab.
Information about the tab to retrieve all frames from.
Retrieves information about the given frame. A frame refers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID.
Information about the frame to retrieve information about.
Use the
browser.webNavigationAPI to receive notifications about the status of navigation requests in-flight.Permissions:
webNavigationNot allowed in: Content scripts, Devtools pages