“后退按钮” - 对ajax的原生支持
ajax 成为主流并使用它(以某种或其他形式)的最受欢迎的网站已经有一段时间了。此外,在此期间,几乎所有主要浏览器都发布了多个主要版本,但我们没有看到对“后退按钮”的本机支持,并且在基于 ajax 的请求的情况下处理后退按钮按下事件由脚本编写'黑客'。
在浏览器使用 Ajax 的情况下,原生支持后退按钮会遇到哪些挑战?为什么至今仍未实施?
Its been a while since ajax has gone main stream with the most popular websites using it (in some or other form). Also, during this period, almost all major browsers have had more than one major release yet we do not see native support for the "Back Button", and handling the event on back button press in case of ajax based requests is left to scripting 'hacks'.
What are challenges in having native support for back button in case of Ajax for browsers? Why has it still not been implemented?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HTML5 似乎正在提供一些支持,并向 API 添加了以下方法:
嗯,回答你自己的问题相当有趣,但以防万一有人来搜索。尽管如此,这个是我读到的地方。
It seems some support is on the way in HTML5 with addition of following methods to the API:
Well, its rather funny to answer your own question, but just in case some one came searching. Nevertheless, this is where I read about it.