hashchange
Widely available since 2018-01-29
The hashchange
event fires when the URL fragment identifier (the part of the URL starting with #
) of the current page has changed.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 16 Released on 2011-12-13
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 11 Released on 2012-03-13
- Firefox for Android 14 Released on 2012-06-26
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
Specifications
- HTML Standard (#the-hashchangeevent-interface), from HTML Workstream (WHATWG).