GM_listValues(), a quick loop and GM_deleteValue() is probably your best bet.

kwah


On 18/10/2011 07:39, zi gengdi wrote:
I stored many variables by doing GM_setValue();
  Is there a way to delete all these variables at one time?
in Firefox, about:config, variables: "count"  and "kwtmp", is as
follows:
"greasemonkey.scriptvals.tag: URI/get_query.count; 198
greasemonkey.scriptvals.tag: URI/get_query.kwtmp; parseInt
What I want to do is delete them at one time.

Thanks for your help.


--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to