This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

navigationStart

Summary

Returns the time immediately after the user agent finishes prompting to unload the previous document. If there is no previous document, returns the same value as fetchStart.

Property of apis/navigation timing/PerformanceTimingapis/navigation timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.navigationStart;

Return Value

Returns an object of type unsigned longunsigned long

Examples

var perftime = performance.timing;
document.write("navigationStart: " + perftime.navigationStart + "<br />");

Notes

The value reported represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).

Related specifications

W3C Navigation Timing Specification 2
W3C Working Draft

Attributions