files/en-us/web/api/performancenavigation/index.md
{{APIRef("Performance API")}}{{Deprecated_Header}}
The legacy PerformanceNavigation interface represents information about how the navigation to the current document was done.
[!WARNING] This interface is deprecated in the Navigation Timing Level 2 specification. Please use the {{domxref("PerformanceNavigationTiming")}} interface instead.
An object of this type can be obtained by calling the {{domxref("Performance.navigation")}} read-only attribute.
The PerformanceNavigation interface doesn't inherit any properties.
{{domxref("PerformanceNavigation.type")}} {{ReadOnlyInline}} {{deprecated_inline}}
unsigned short which indicates how the navigation to this page was done. Possible values are:
TYPE_NAVIGATE (0)
TYPE_RELOAD (1)
TYPE_BACK_FORWARD (2)
TYPE_RESERVED (255)
{{domxref("PerformanceNavigation.redirectCount")}} {{ReadOnlyInline}} {{deprecated_inline}}
unsigned short representing the number of REDIRECTs done before reaching the page.The Performance interface doesn't inherit any methods.
PerformanceNavigation object.{{Specifications}}
{{Compat}}