Gordon Pettey  wrote:

> @require is for remote scripts, not something on your drive. It sounds
> like you're trying to include a local script. Get that script hosted
> somewhere.

The (official) documentation on @require indicates the following:

    "This metadata block key [...@require] property may be used to cache
      a local or remote script into the current user script at
      installation time.  Greasemonkey will not redownload these
external
      dependencies every time the script is executed on a web page
specified
      by @include."

      http://wiki.greasespot.net/Metadata_block

I was guessing that would be any valid URL whether an 'http://' or
'file://' protocol.

But I am running Apache 2.2 and using 'http://localhost/', so if by
'remoteness' you mean that it should be served up by a web server with
HTTP request/response exchanges, that is being done.

> On installation of the userscript, Greasemonkey will download the
> script at the specified URL, and store it in the same directory as the
> userscript.

Okay, this I am not seeing with either use of 'file://' or 'http://
localhost' URLs.

So now what?  I have a free webhosting site I use.  Do you think it
will help if I upload the three @required JS files and the HTML
document to that web site in the same directory and try it?

> @requirehttp://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

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