On 7/27/2009 6:40 PM, GµårÐïåñ wrote:
> 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?
Because you've written an infinite loop. You set "number" to "one",
then check if it is one. This is always true. You set it to something
else then reload the page. At which point you set "number" to "one",
then .....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---