HashChangeEvent oldURL Property
When the hash has been changed, get the URL we navigated away from:
The result could be:
Definition and Usage
The oldURL property returns the URL of the document, before the hash (anchor part) was changed.
This is the URL that was navigated away from. To get the URL that was navigated to, use the newURL property.
This property is read-only.
Tip: To set or return the hash of a URL, use the location.hash property.
The numbers in the table specify the first browser version that fully supports the property.
|Return Value:||A String, representing the URL that was navigated from|
❮ Event Object