Gordon Pettey wrote:
> If the script is remote, have you verified that the script is being
> downloaded to the same folder the userscript is in?

The three @required scripts are actually on my filesystem (same
computer/host).  My Windows Vista system runs Apache 2.2, so I have
been experimenting with both 'http://localhost/path/to/my/
document.html' and with 'file:///d:/path/to/my/document.html'.

The three @required scripts normally reside in a single place on the
filesystem (C:\include) and I have created two GM *.user.js scripts,
one with an '@include file://*.html' and another with '@include
http://localhost/*.html' so that the @required values lead with either
'/include/req1.js' or 'file:///c:/include/req1.js', respectively.  In
addition, I have modifying the @required values to be just 'req1.js',
and placing that JS file in the same directory as the HTML doc being
loaded.

I have inspected the 'C:\Users\<username>\AppData\Roaming\Mozilla
\Firefox\Profiles\<a profile>\gm_scripts\<gm-script-folder>\' path for
the affected script here.  I see the one *.user.js file which I have
created through GreaseMonkey (I use UltraEdit v14 as an editor, by the
way), but there are no other *.js files, indicating a download and
placement of the @required files within this folder/directory, which I
believe you are suggesting is done.  I copied the three @required
files to this GM-administered folder directly, and the 'function
undefined' error still occurs; so placing these required files
artificially in the same folder as the GM *.user.js script or in the
directory of the HTML document is not having any desired effect.

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