Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing data when using 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?

like image 498
Ben Shelock Avatar asked Apr 01 '10 19:04

Ben Shelock


2 Answers

Well here are the options:

  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.

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.

like image 157
erikvold Avatar answered Nov 14 '22 03:11

erikvold


use Lubemonkey found on Gamecore.org, works the same as greasemonkey (even the same commands) but you can store the data in an sqlite database using pure SQL (insert,update, selects , joins etc).

like image 31
Ramp Avatar answered Nov 14 '22 03:11

Ramp