NavigationActivation: entry 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 entry read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the inbound ("to") document in the navigation. This is equivalent to the Navigation.currentEntry property at the moment the inbound document was activated.
There are some cases in which either the from or entry NavigationHistoryEntry objects would not be viable targets for the traverseTo() method, as they might not be retained in history. For example, the document can be activated using location.replace() or its initial entry could be replaced by history.replaceState(). However, those entries' url properties and getState() methods are still accessible.
Value
A NavigationHistoryEntry object.
Examples
See the main NavigationActivation page.
Specifications
| Specification |
|---|
| HTML> # dom-navigationactivation-entry> |