Make sure that you aren't using the HTTPS-Everywhere.  It seems to cause a
failure in GM when it's loading requires from site URLs that HTTPS-Everywhere
modifies.

    If you change your require to use https://, it'll probably work.


On 12/20/2010 10:28 PM, Tim wrote:
> I'm trying to do an absolute minimalist jQuery script, but seem to be
> failing badly.  When it loads and runs, I get this error in my Firefox
> console...
>
>     Error: $ is not defined
>
> Here's the script in all its simple glory...
>
>     // ==UserScript==
>     // @name           Perludus Test
>     // @namespace      http://www.perludus.com
>     // @description    Perludus test
>     // @require       
> http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
>     // @include        http://perludus.com/*
>     // ==/UserScript==
>
>     $(document).ready(function() {
>         alert ("FOO!");
>     });
>
> What, dear readers, am I doing wrong!?  It is as if jQuery is not
> loading
>

-- 
Jay Rossiter                                    http://www.cothlamadh.net/
503.896.6187                                    [email protected] 

-- 
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