[Greasemonkey] function failed in 0.64
Jeremy Dunck
jdunck at gmail.com
Tue Jan 3 14:01:31 EST 2006
On 1/3/06, Chris Hayes <chayes at antenna.nl> wrote:
> I think this function is not recognized.
> I have this problem probably since I upgraded to GM 0.64. Before that I
> might have (<--sorry..) had 0.61.
>
> unsafeWindow.GM_GETorDEFAULT = function(name,defaultValue){if
> (!GM_GET(name)) GM_SET(name,defaultValue); return GM_getValue(name);}
>
> (when called, i get the error: Error: GM_GETorDEFAULT is not defined )
Can you send a user script demonstrating the problem as an attachment?
I don't see anything wrong with this snippet, assuming you've defined
GM_GET and GM_SET.
More information about the Greasemonkey
mailing list