browserstate / history.js

History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.
http://browserstate.github.com/history.js/demo/
Other
10.76k stars 1.35k forks source link

IE/Edge pop last saved object irrespective of current URL #471

Open mveer-agarwal opened 7 years ago

mveer-agarwal commented 7 years ago

Hi Team,

I faced the issue while pop the state of history object with some URL, with which i have not pushed the state. IE/Edge retains the last pushed object in history irrespective of the saved URL. Whenever URL change it pop the history object with the last saved state.

I have figure out the solution. Please allow me to check-in the code.

Regards Mahaveer