This interface of this property is deprecated in the
Navigation Timing Level 2 specification
. Please use the
PerformanceNavigationTiming
interface instead.
传统
PerformanceTiming
.unloadEventStart
read-only property returns an
unsigned long long
representing the moment, in milliseconds since the UNIX epoch, the
unload
event has been thrown. If there is no previous document, or if the previous document, or one of the needed redirects, is not of the same origin, the value returned is
0
.
time = performanceTiming.unloadEventStart;
| 规范 | 状态 | 注释 |
|---|---|---|
|
导航计时
The definition of 'PerformanceTiming.unloadEventStart' in that specification. |
推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
unloadEventStart
弃用
|
Chrome 6 | Edge 12 | Firefox 7 | IE 9 | Opera 15 | Safari 11 | WebView Android Yes | Chrome Android 18 | Firefox Android 7 | Opera Android 14 | Safari iOS 11 | Samsung Internet Android 1.0 |
完整支持
弃用。不要用于新网站。
PerformanceTiming
interface it belongs to.
PerformanceTiming
connectEnd
connectStart
domainLookupEnd
domainLookupStart
domComplete
domContentLoadedEventEnd
domContentLoadedEventStart
domInteractive
domLoading
fetchStart
loadEventEnd
loadEventStart
navigationStart
redirectEnd
redirectStart
requestStart
responseEnd
responseStart
secureConnectionStart
unloadEventEnd
unloadEventStart