Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
2 results across 6 corpora for webNavigation.onCreatedNavigationTarget.
Developer library 2
webNavigation
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 if a page uses the [history API](
webNavigation.onCreatedNavigationTarget
e [Work with documentId](/docs/Mozilla/Add-ons/WebExtensions/Work_with_documentId) article for more information. ## Syntax ```js-nolint browser.webNavigation.onCreatedNavigationTarget.addListener( listener, // function filter // optional object ) browser.webNavigation.onCreatedNavigationTarget.removeListener(listener) browser.webNavigation.onCreatedNavigationTarget.hasList