Using the html5 window.history API, I can control the navigation pretty well on my web app.  The app currently has two states: selectDate(1) and enterDetails(2).  When the app loads, I replaceState and set a popState listener:  history.replaceState({...
As is well known, in XHR (aka AJAX) web applications no history for your app is build and clicking the refresh button often moves the user out of his/her current activity. I stumbled upon location.hash (e.g. http://anywhere/index.html#somehashvalue)...
I'm afraid it might be impossible but is there a way to change the hash value of a URL without leaving an entry in the browser's history and without reloading? Or do the equivalent?  As far as specifics go, I was developing some basic hash na...
I spent a long time looking into this about a year ago, I tried:   Jquery BBQ plugin Jquery History plugin jquery .address plugin   I found the jquery.address plugin to be the best, but these things change quickly.  Has anyone thoroughly researched t...
Is it possible to detect the hashchange only on a browser history change (i.e. Back or Forward button)?  I have seen the onBeforeUnload event, but this event does not fire on hash change, as the window is not unloading.  The hashchange event obviousl...
I've started to test History.js. After understanding how it works and that there is no popstate, instead there is statechange. I'm looking for a way to differ when the back button of the browser has been pressed.  The reason is that I need to...
I have an example code below where if you click the links, then use back and forward, each state change will cause more and more hits on the 'statechange' event. Instead of the one that I expect.  Links:   https://github.com/browserstate/hist...
I'm trying to find a clean solution to working with the browser history in the most effective way. (I'm using GWT, but this question is really more general than that.)  Here's my situation (I would think it's pretty standard):  I have...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.