NotRestoredReasons: url property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Theurl read-only property of theNotRestoredReasons interface returns a string representing the URL of the navigated page or<iframe>.
In this article
Value
A string.
If the document is in a cross-origin<iframe>,url will returnnull.
Examples
SeeMonitoring bfcache blocking reasons for examples.
Specifications
| Specification |
|---|
| HTML> # dom-not-restored-reasons-url> |