PerformanceTiming.redirectStart

概要

PerformanceTiming.redirectStart 是一个返回代表一个时刻的 unsigned long long 型只读属性,为第一个HTTP的重定向开始的时刻的 Unix毫秒时间戳。如果重定向没有发生,或者其中一个重定向非同源,则该值返回 0。

语法

time = performanceTiming.redirectStart;

标准

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

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
redirectStart
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.

参见