From GreaseSpot Wiki
Revision as of 20:12, 5 May 2009 by Skagedal (talk | contribs) (Storing large amounts of data)
Jump to navigationJump to search


How can I clear values from Firefox preferences set by my Greasemonkey script?
Currently there is no API for this.


The previous incarnation of this article had an example of alert(GM_setValue("foo", "bar"));. Currently miscapis.js and prefmanager.js does not have any return statements.
If this is a desired behavior for GM developers to pursue, it will need to be corrected in the trunk.

Storing large amounts of data

So what if I do need to store large amounts of data? Is there any other API that allows for that? /Skagedal 16:12, 5 May 2009 (EDT)