I have a Ajax heavy application that may have a URL such as
http://example.com/myApp/#page=1
When a user manipulates the site, the address ba
check the current address periodically using setTimeout/interval:
var oldLocation = location.href; setInterval(function() { if(location.href != oldLocation) { // do your action oldLocation = location.href } }, 1000); // check every second