Using HTML5 pushState() in IE9

Mohsen picture Mohsen · Apr 3, 2011 · Viewed 18.5k times · Source

Is there any way to use HTML5 History API (pushState) in IE9? If there is a solution for all other browsers that would be great!

Answer

amosrivera picture amosrivera · Apr 3, 2011

History.js

Quote from the repo:

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.