On 2010-03-26 14:00, Snigger wrote:
Hi
I have an object named "CONFIG"
And I'm trying to save the my CONFIG by encoding it into JSON
the first time save works but I can't update the value by:
What exactly happens to let you know that it doesn't work -- do you get
an error in Error Console? does it blank out the value of myconfig (as
seen in about:config)? does it simply leave the value the same as before?
GM_setValue("myconfig",JSON.encode(VALUES));
VALUES, or CONFIG? Make up your mind, please; if you're using both
variables, that might be part of the problem.
What's wrong?
I don't know yet -- can you post more of the code?
--
cc | pseudonymous |<http://carlclark.mp/>
--
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.