oldURL

The oldURL read-only property of the HashChangeEvent interface returns the previous URL from which the window was navigated.

MDN Reference