When I use the GM_setvalue function I can see the additional entries
in about:config .
Is there a way to completely remove them? Are there any problems with
allowing them to build up in a users browser?
Rob
You can't remove them through your script, but you can:
* set them to null
* check "also uninstall associated preferences" when uninstalling a script
* in about:config, right click the preference and select "reset"
* Remove prefs in bulk by editing prefs.js
<http://kb.mozillazine.org/Prefs.js_file>. Exit Firefox, back up that
file, then run it through grep -v or similar.
As for problems, I've heard accounts of scripts that read a lot of
preferences getting sluggish. Otherwise, they take up space but
shouldn't affect performance unless you're running out of memory.
I think there are plans for switching to the new storage schema
mozStorage [1] supported by Firefox 2, based on sqlite. If this
becomes true some day, it will be possible to keep about:config and
GM_Set/GetValue apart from each other.
[1] http://developer.mozilla.org/en/docs/Storage
2006/12/8, Lenny Domnitser <ldr...@gmail.com>:
First, there are two different new storage APIs. Yes, one of them is
sqlite-backed.
I submitted a patch to the dev list as a proposed GM_ api for sqlite
access. The GM devs must be busy, because not a lot has been happening
over on the dev list recently. I haven't heard yea or nay for anything
I submitted.
http://groups.google.com/group/greasemonkey-dev/browse_thread/thread/8b82b4e5919b96dc
I'm alive, but not doing much contributing to GM lately. I have a
new job and recently launched a new site. Anyway, um, probably still
a few weeks before I can get around to GM stuff. :-/ Sorry.