Window: navigation property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The navigation read-only property of the Window interface returns the current window's associated Navigation object.

This is the entry point for the Navigation API.

Value

A Navigation object instance.

Examples

js
let currentNavEntries = window.navigation.entries();

Specifications

Specification
HTML
# dom-navigation

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
navigation
Experimental

See also