【问题标题】:create history navigation创建历史导航
【发布时间】:2012-11-07 17:15:40
【问题描述】:

我正在使用 jquery 开发客户端应用程序,并希望保存 appli 中访问的所有页面以返回给它们。

我为此使用 history API

如何显示所有访问过的 URL?

谢谢

【问题讨论】:

  • 应用程序加载后访问

标签: javascript html web-applications html5-history


【解决方案1】:

试试 Storage.js

"提供了一个简单的界面来存储用户偏好等数据。存储插件对于保存和检索用户浏览器中的数据很有用。对于较新的浏览器,使用 HTML 5 的 localStorage。如果不支持 localStorage , 然后使用 cookie。可检索的数据仅限于同一域

https://sites.google.com/site/daveschindler/jquery-html5-storage-plugin

【讨论】:

    猜你喜欢
    • 2018-01-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-09
    • 2019-07-26
    • 1970-01-01
    • 2013-10-27
    • 1970-01-01
    相关资源
    最近更新 更多