Web platform features explorer

hashchange

Widely available since 2018-01-29
Tags: api

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

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