[Greasemonkey] Use external library
Gareth Andrew
freega at freegarethandrew.org
Fri Oct 28 02:26:59 EDT 2005
On Thu, 2005-10-27 at 15:13 -0700, Robert G. Werner wrote:
> On 10/27/2005 10:24:19 AM -0700, Jeremy Dunck <jdunck at gmail.com>
> screamed across the cubicle wall:
> [snip]
>
> >
> > The @import meta causes GM to download the referenced files at the
> > time the script is installed.
> [snip]
>
> Does this mean that the file has to be available on the net or can it
> "download" the file from the local file system? I forget what the
> conclusion was on this issue.
It's explicitly disallowed, i figured its a security bug eg.
//@import file:///path/to/secret/file
...
xmlhttprequest.send(secrets);
It's relaxed if the url of the user script is also a file: url, so you
don't have to use a http server for testing/development.
Gareth.
More information about the Greasemonkey
mailing list