My google fu pulled nothing.
When you do this:
var stateObj = { state: "some state" }; history.pushState(stateObj, "page 2", "other.htm");
Is there a related window callback?
I know what is it:
window.onpopstate = function() { }
Which is great for listening when the user clicks the back button. However, I want to listen to any changes in the URL at all times, and I'm not sure how to do this.
Is there a global callback to change the url?
javascript html5 html5-history
thekevinscott May 02 '12 at 18:52 2012-05-02 18:52
source share