Hash Change Hörer JS

window.addEventListener('hashchange', function() {
  console.log('The hash has changed!')
}, false);
Busy Batfish