[Greasemonkey] Length Limit for GM_setValue?
Aaron Boodman
zboogs at gmail.com
Sun Dec 18 19:54:08 EST 2005
On 12/18/05, chris feldmann <cfeldmann at gmail.com> wrote:
> On 12/18/05, WHITEMARE2 <whitemare2 at delphiforums.com> wrote:
> I don't know that specific answer, but it doesn't seem out of place to
> point out that the file where those values are saved (prefs.js) gets
> read often enough (on every pageload?)
Untrue. It gets read once, on browser startup. Preferences are
maintained in memory until the browser shuts down (successfully) at
which time they are flushed to disk.
Storing a lot (where "a lot" is along the lines of ~100k) with
GM_setValue will make startup slow.
- a
More information about the Greasemonkey
mailing list