Is there a good way to store an extensive amount of data when using Greasemonkey for when GM_setValue
just doesn't cut it?
Asked
Active
Viewed 4,279 times
8

Brock Adams
- 90,639
- 22
- 233
- 295

Ben Shelock
- 20,154
- 26
- 92
- 125
2 Answers
5
Well here are the options:
- 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).
- Use Web Storage which is implemented in Firefox.
- Use Flash Local Storage.
- Wait until Web SQL Database is implemented in Firefox..
- 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.

erikvold
- 15,988
- 11
- 54
- 98
-
There's also a library for Greasemonkey that allows the persistent storage of Javascript objects across multiple domains: see here. http://userscripts.org/scripts/show/107941 – Anderson Green Dec 20 '12 at 03:48
1
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).

Ramp
- 11
- 1