有人知道 jQuery 地址插件中的这个错误吗?
使用 jQuery Address 插件,如果我在 IE 7 或 8 上创建 2 个书签:
http://www.asual.com/jquery/address/samples/api/#/section/?id=1&name=n1&name=n2
http://www.asual.com/jquery/address /samples/api/#/section/2
现在我先访问 google.com(或任何其他网站),然后访问上面的书签 1,然后访问上面的书签 2,然后单击“返回”,就可以了将使我直接返回 Google,而不是先返回书签 1 的 URL。 (Ajax 历史记录和书签功能)。这在 IE 7 和 8 上是正确的,但在 Chrome 和 Firefox 上也可以。
有人知道调整/破解/修复来使其工作吗?到目前为止,我已经尝试过Really Simple History、jQuery History、Ajaxify,但没有一个是没有错误的。
Using jQuery Address plugin, if i create 2 bookmarks on IE 7 or 8:
http://www.asual.com/jquery/address/samples/api/#/section/?id=1&name=n1&name=n2
http://www.asual.com/jquery/address/samples/api/#/section/2
now i go to google.com (or any other website) first, and then i visit bookmark 1 above, and then bookmark 2 above, and click "Back", it will bring me back directly back to Google, instead of going back to bookmark 1's URL first. (the Ajax history and bookmark feature). This is true on IE 7 and 8, but ok on Chrome and Firefox.
Anybody know of tweak / hack / fix to make this work? So far I have tried Really Simple History, jQuery History, Ajaxify as well, and none of them is bug free.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,这是 IE 的一个令人不快的问题。似乎 IE7 有一个解决方法,因为它在 jQuery Address 1.0 中工作正常,但 IE8 没有可靠的解决方案。
我刚刚向 IE 团队提交了以下错误:
https://connect.microsoft.com/IE/feedback/details/576384/navigating-to-a-hash-anchor-using-the-address-bar-does-not-创建历史条目
I'm sorry but this is an unpleasant issue with IE. It seems that there is a workaround for IE7 because it was working properly in jQuery Address 1.0 but there is no reliable solution for IE8.
I just submitted the following bug to the IE team:
https://connect.microsoft.com/IE/feedback/details/576384/navigating-to-a-hash-anchor-using-the-address-bar-does-not-create-a-history-entry