Html 哪些浏览器支持 HTML5 History API?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4612598/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Which browsers support the HTML5 History API?
提问by Kiran Jonnalagadda
Can someone point me to a compatibility chart for browsers that support/don't support the HTML5 History API?
有人可以指出支持/不支持 HTML5 History API 的浏览器的兼容性图表吗?
Spec: http://www.w3.org/TR/html5/history.html
Tutorial: https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
规范:http: //www.w3.org/TR/html5/history.html
教程:https: //developer.mozilla.org/en/DOM/Manipulating_the_browser_history
回答by Romin Irani
This might help : http://caniuse.com/#search=history
这可能有帮助:http: //caniuse.com/#search=history
回答by balupton
All the modern browsers now do it, except IE (even IE10 no word yet) - though they all implement it differently. You can read about the differences with their implementations here https://github.com/browserstate/history.js/wiki/The-State-of-the-HTML5-History-API
现在所有的现代浏览器都这样做,除了 IE(甚至 IE10 还没有字)——尽管它们都以不同的方式实现它。您可以在https://github.com/browserstate/history.js/wiki/The-State-of-the-HTML5-History-API 中了解其实现的差异