--- title: PerformanceTiming.navigationStart slug: Web/API/PerformanceTiming/navigationStart translation_of: Web/API/PerformanceTiming/navigationStart ---
{{APIRef("Navigation Timing")}}
PerformanceTiming
.navigationStart
是一个返回代表一个时刻的 unsigned long long
型只读属性,为紧接着在相同的浏览环境下卸载前一个文档结束之时的 Unix毫秒时间戳。如果没有上一个文档,则它的值相当于 {{domxref("PerformanceTiming.fetchStart")}}。
time = performanceTiming.navigationStart;
Specification | Status | Comment |
---|---|---|
{{SpecName('Navigation Timing', '#dom-performancetiming-navigationstart', 'PerformanceTiming.navigationStart')}} | {{Spec2('Navigation Timing')}} | Initial definition. |
{{Compat("api.PerformanceTiming.navigationStart")}}