Emulate/polyfill history.pushstate() in IE

Consider using or adapting History.js from GitHub. As per the description:

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.

IE (upto and including 9), does not support pushstate(). IE 10 supports it.

http://caniuse.com/#search=pushstate

Leave a Comment