Well I noticed after using setValue and then getValue later and the
logic block was not triggered. So I set an alert(getValue("foo")); so
that I can see if the value is being properly retrieved or not and
instead saw what I posted earlier. This is a slightly trimmed section
of the example:
GM_setValue("Number", "One");
if (GM_getValue("Number") == "One")
{
GM_setValue ("Number", "Two");
window.location.reload();
}
can't get any simpler than this and so why is it returning an error?
On Jul 27, 2:19 am, esquifit <[email protected]> wrote:
> On Mon, Jul 27, 2009 at 11:16 AM, esquifit<[email protected]> wrote:
> > although GM_setValue returns the set value,
>
> Oops, forget it. This was an unverified statement and it's
> definitively wrong. Sorry.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---