Does Internet Explorer support pushState and replaceState?

Does anybody know if Internet Explorer supports the history.pushState() and history.replaceState() methods for manipulating browser history? Considering these are just being implemented in Firefox 4, I’m not holding my breath, but does anybody know if they’re coming in IE9?


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Probably the best site for browser compatibility information is CanIUse. Here’s the section on history.

Summary – IE9: no, IE10: yes (as of platform preview 3)

The first Release Candidate of IE9 (released 10th Feb 2011) does not support history.pushState or history.replaceState. Generally no new features are added after a product gets to RC stage so it is very unlikely that the final IE9 will support these methods.

Microsoft have a good overview for developers of the features IE9 does have.

Update: Internet Explorer 9 was launched (on 14th March 2011) and definitely does not support history.pushState() or history.replaceState().

Update 2: The current platform preview of IE10 still does not support pushState / replaceState.

Update 3: Platform Preview 3 of IE10 supports the history API! Details

Method 2

IE9 doesn’t support it.

You can however use a work around using a Polyfill to get the functionality – History.js

Modernizr do a good job listing HTML 5 Polyfills here

The caveat is that it will add a query string to your URL in browsers that only support HTML 4 features.

Method 3

Internet Explorer 10 introduces support for the History interface of the HTML5 draft specification, which includes methods that enable you to manage a site’s history stack and URL.

The original link:

Method 4

Btw you can get such error in reason of absolute path in pushState(). When i set relative path error was disappeared.

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x