Back to Content

NotRestoredReasons: url property

files/en-us/web/api/notrestoredreasons/url/index.md

latest730 B
Original Source

{{APIRef("Performance API")}}{{SeeCompatTable}}

The url read-only property of the {{domxref("NotRestoredReasons")}} interface returns a string representing the URL of the navigated page or {{htmlelement("iframe")}}.

Value

A string.

If the document is in a cross-origin <iframe>, url will return null.

Examples

See Monitoring bfcache blocking reasons for examples.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also