[Greasemonkey] Deleting values saved with GM_setValue

Aaron Boodman zboogs at gmail.com
Mon Jun 20 16:14:58 EDT 2005


Does GM_setValue("key") do it? I think that was my original plan, but
not sure if it actually works.

On 6/20/05, Simon Willison <cs1spw at bath.ac.uk> wrote:
> In Greasemonkey 0.3.4, there doesn't appear to be a way of deleting
> values set using GM_setValue. The following:
> 
> GM_setValue('key', '');
> 
> Just populates that setting with an empty string (according to the
> list in about:config)
> 
> Is this a bug? Should this clear the preference, or do we need to add
> a GM_clearValue() function?
> 
> Cheers,
> 
> Simon
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>


More information about the Greasemonkey mailing list