PerformanceTiming.unloadEventStart

概要

PerformanceTiming.unloadEventStart 是一个返回代表一个时刻的 unsigned long long 型只读属性,为 unload 事件被触发之时的 Unix毫秒时间戳。如果没有上一个文档,或者上一个文档或需要重定向的页面之一不同源,则该值返回 0。

语法

time = performanceTiming.unloadEventStart;

标准

Specification Status Comment
Navigation Timing
PerformanceTiming.unloadEventStart
Recommendation Initial definition.

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
unloadEventStart
Deprecated
Chrome Full support 6Edge Full support 12Firefox Full support 7IE Full support 9Opera Full support 15Safari Full support 11WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 7Opera Android Full support 14Safari iOS Full support 11Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

参见