Internet Explorer是否支持pushState和replaceState? [英] Does Internet Explorer support pushState and replaceState?

查看:116
本文介绍了Internet Explorer是否支持pushState和replaceState?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道Internet Explorer是否支持 history.pushState() history.replaceState()方法操纵浏览器历史记录?考虑到这些只是在Firefox 4中实现,我并没有屏住呼吸,但是有人知道他们是否会进入IE9吗?

解决方案 div>

可能是浏览器兼容性信息的最佳网站是 CanIUse 。以下是有关历史的部分。



摘要 - IE9:否 IE10:是(截至平台预览版3) 第一次发布IE9候选版(2011年2月10日发布)不支持history.pushState或history.replaceState。在产品进入RC阶段后,通常不会添加任何新功能,因此最终IE9不太可能支持这些方法。



Microsoft有一个很好的开发人员概述 IE9的功能。



更新: Internet Explorer 9已于2011年3月14日推出,绝对不支持 history.pushState() history.replaceState()



更新2:当前平台预览 IE10仍然不支持pushState / replaceState 更新3:IE10的平台预览版3支持历史API! 详情


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?

解决方案

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

这篇关于Internet Explorer是否支持pushState和replaceState?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆