coderef

Navigation APIBaseline · Newly available

The navigation API initiates, intercepts, or modifies browser navigation actions. Not to be confused with the navigator API.

Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Jan 13, 2026.

Browser support

DesktopChrome
1–101Not supported
102+Supportedsince May 24, 2022
Current: 155
Edge
12–101Not supported
102+Supportedsince May 31, 2022
Current: 154
Firefox
1–146Not supported
147+Supportedsince Jan 13, 2026
Current: 157
Safari
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27
MobileChrome Android
18–101Not supported
102+Supportedsince May 24, 2022
Current: 155
Firefox Android
4–146Not supported
147+Supportedsince Jan 13, 2026
Current: 157
Safari iOS
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27

How to use

Every current browser supports this, but it only became Baseline on Jan 13, 2026. Use it as a progressive enhancement, or keep a fallback if you support older devices.

Example

Full syntax and examples are on MDN: NavigateEvent.

Feature detection

JS · check before using
if ("Navigation" in globalThis) {
  // Navigation is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (59). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
NavigateEvent10210214726.210214726.2
NavigateEvent.NavigateEvent10210214726.210214726.2
NavigateEvent.canIntercept10510514726.210514726.2
NavigateEvent.destination10210214726.210214726.2
NavigateEvent.downloadRequest10210214726.210214726.2
NavigateEvent.formData10210214726.210214726.2
NavigateEvent.hasUAVisualTransition11811814726.211814726.2
NavigateEvent.hashChange10210214726.210214726.2
NavigateEvent.info10210214726.210214726.2
NavigateEvent.intercept10510514726.210514726.2
NavigateEvent.navigationType10210214726.210214726.2
NavigateEvent.scroll10510514726.210514726.2
NavigateEvent.signal10210214726.210214726.2
NavigateEvent.userInitiated10210214726.210214726.2
Navigation10210214726.210214726.2
Navigation.activation12312314726.212314726.2
Navigation.back10210214726.210214726.2
Navigation.canGoBack10210214726.210214726.2
Navigation.canGoForward10210214726.210214726.2
Navigation.currentEntry10210214726.210214726.2
Show 39 more
Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
Navigation.currententrychange_event10210214726.210214726.2
Navigation.entries10210214726.210214726.2
Navigation.forward10210214726.210214726.2
Navigation.navigate10210214726.210214726.2
Navigation.navigate_event10210214726.210214726.2
Navigation.navigateerror_event10210214726.210214726.2
Navigation.navigatesuccess_event10210214726.210214726.2
Navigation.reload10210214726.210214726.2
Navigation.transition10210214726.210214726.2
Navigation.traverseTo10210214726.210214726.2
Navigation.updateCurrentEntry10210214726.210214726.2
NavigationActivation12312314726.212314726.2
NavigationActivation.entry12312314726.212314726.2
NavigationActivation.from12312314726.212314726.2
NavigationActivation.navigationType12312314726.212314726.2
NavigationCurrentEntryChangeEvent10210214726.210214726.2
NavigationCurrentEntryChangeEvent.NavigationCurrentEntryChangeEvent10210214726.210214726.2
NavigationCurrentEntryChangeEvent.from10210214726.210214726.2
NavigationCurrentEntryChangeEvent.navigationType10210214726.210214726.2
NavigationDestination10210214726.210214726.2
NavigationDestination.getState10210214726.210214726.2
NavigationDestination.id10210214726.210214726.2
NavigationDestination.index10210214726.210214726.2
NavigationDestination.key10210214726.210214726.2
NavigationDestination.sameDocument10210214726.210214726.2
NavigationDestination.url10210214726.210214726.2
NavigationHistoryEntry10210214726.210214726.2
NavigationHistoryEntry.dispose_event10210214726.210214726.2
NavigationHistoryEntry.getState10210214726.210214726.2
NavigationHistoryEntry.id10210214726.210214726.2
NavigationHistoryEntry.index10210214726.210214726.2
NavigationHistoryEntry.key10210214726.210214726.2
NavigationHistoryEntry.sameDocument10210214726.210214726.2
NavigationHistoryEntry.url10210214726.210214726.2
NavigationTransition10210214726.210214726.2
NavigationTransition.finished10210214726.210214726.2
NavigationTransition.from10210214726.210214726.2
NavigationTransition.navigationType10210214726.210214726.2
Window.navigation10210214726.210214726.2