[Greasemonkey] API brainstorming: GM services?
mark rickerby
coretxt at gmail.com
Thu Sep 22 13:12:27 EDT 2005
> One limitation I see with GM script is that they keep restarting. Of
> course, there is GM_getValue and GM_setValue to store some state, but
> there is no way of keeping initialized objects in memory between
> pages.
What about something like GM_getObject and GM_setObject? Or perhaps:
var storage = GM_getSharedObject();
var config = storage.getObject('mySettings');
I could definitely see uses for that, especially if users didn't have
to care how/where the objects are persisted...
cheers,
Mark
More information about the Greasemonkey
mailing list