web api instance property
Navigation: activation property
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
if (navigation.activation) {
console.log(navigation.activation.entry.url);
}
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.