I'm guessing @resource should act the same then? In any case, at the moment
both @require and @resource work for files on the disk, and based on
questions on Stack Overflow etc. it is a "hack" that is used for personal
scripts (i.e. those not intended to be distributed).

Will this "hack" eventually be "fixed"/"closed"? Of course, I hope not...

In any case, do you perhaps know why some of my scripts work fine when
adding new @require blocks while others don't?


On Thu, Jul 17, 2014 at 9:18 AM, Anthony Lieuallen <[email protected]>
wrote:

> On Thu, Jul 17, 2014 at 4:17 AM, Gary <[email protected]> wrote:
> > I can easily use @require test.js (the test.js being a local file,
> located
> > in the same directory as the script)
>
> The value for @require should be a URL, where the resource can be
> downloaded from.  Not a path on disk.  If you edit an existing file to
> specify a path on disk, Greasemonkey will try to download that as a
> URL, fail, and then the resource will not be available.
>
> http://wiki.greasespot.net/Metadata_Block#.40require
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "greasemonkey-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/greasemonkey-users/jllCw442IP4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/greasemonkey-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to