web-feature: hashchange
The hashchange event fires when the URL fragment identifier (the part of the URL starting with #) of the current page has changed.
The hashchange event fires when the URL fragment identifier (the part of the URL starting with #) of the current page has changed.