Gordon Pettey wrote:
> Give them a real URL. Edit your hosts file
> (\windows\system32\drivers\etc\hosts) to point something like
> gozlergmrequires.com to 127.0.0.1, or get a DynDNS account, and try
> with the @require line using the .com domain. Also, note that you must
> re-install the script to make it load @require lines. Changing the
> @require lines in an already installed script (in FIrefox profiles
> directory) will have no effect.

Your comment about 're-install' prompted me to find this:

    Caveats

    Changing the metadata of an installed script does not do
anything,
    as this data is only accessed during installation. The script
    must be re-installed for these changes to take. Alternatively,
    config.xml can be modified manually.

    http://wiki.greasespot.net/Metadata_block#Caveats

The installlation user interface on Windows Vista GM however (New User
Script command) only provides for the @name, @namespace, @description,
@include, and @exclude metadata, not the @required.

This means that 'config.xml' apparently must be modified directly, as
the only way of specifying @require.

So I followed the template at url=http://wiki.greasespot.net/
Config.xml.

At first, I put <Require filename="http://localhost/req1.js/> for the
'@include http://localhost/*.html'.  I also put <Require
filename="file:///c:/include/req1.js/> for the other *.user.js which
has metadata '@include file://*.html'.  That did not work.

Then I assumed that the files must be present already in the same
directory as the *.user.js and eliminated the parts before 'req1.js',
and copied all the required files.  That did not work.

Then I assumed that Firefox needs to be re-started, assuming it is
part of GM initialization.  That did not work.  When I went to "Manage
User Scripts...", all scripts known to GM had disappeared completely.
So now I have another thing to figure out.
--~--~---------~--~----~------------~-------~--~----~
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