使用Greasemonkey时存储数据 [英] Storing data when using Greasemonkey

查看:328
本文介绍了使用Greasemonkey时存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GM_setValue 只是不剪切它时,使用Greasemonkey时,是否有很好的方法来存储大量的数据?

Is there a good way to store an extensive amount of data when using Greasemonkey for when GM_setValue just doesn't cut it?

推荐答案

这里是选项:


  1. 设置服务器以保存数据
    ,并使用xhr到
    创建/编辑/删除数据( Google App
    Engine(GAE)
    提供了大量的
    免费存储空间)。

  2. 使用网络存储,它是
    在Firefox 中实施。

  3. 使用 Flash本地存储

  4. 等待直到 Web SQL数据库
    在Firefox中实现。

  5. 上述所有内容的混合。

  1. Setup a server to save the data for the user, and use xhr to create/edit/remove data (Google App Engine (GAE) offers a lot of free storage space).
  2. Use Web Storage which is implemented in Firefox.
  3. Use Flash Local Storage.
  4. Wait until Web SQL Database is implemented in Firefox..
  5. A mixture of all of the above.


    如果您撰写 Firefox扩展(或日后您可以 Jetpack 并使用 HD

If you write a Firefox extension (or in the future you could make a Jetpack and use the Page Mod JEP 107 which is being developed) then you can also read/write/delete files to the HD.

这篇关于使用Greasemonkey时存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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