Navigation: activation property
Baseline
2026
Newly available
Since January 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
The activation read-only property of the Navigation interface returns a NavigationActivation object containing information about the most recent cross-document navigation, which "activated" this Document. The property will stay constant during same-document navigations.
Value
A NavigationActivation object, or null if current document is the initial about:blank document.
Examples
js
if (navigation.activation) {
console.log(navigation.activation.entry.url);
}
Specifications
| Specification |
|---|
| HTML> # dom-navigation-activation> |