[Greasemonkey] Including other JS files and using "class" and custom styles

Bill Donnelly donnelly at snowcrest.net
Fri Aug 4 16:19:32 EDT 2006


I can't remember what the status of this whole discussion is anymore.

Has anyone suggested another metadata statement, like "@library 
userscript_library.user.js".
(since @include is already defined; the ".user.js" could be implied and 
auto-appended if absent)
The desired file could be in the standard user script directory.
This would be fairly easy to do and support. (relatively, I think)
You could just "install" the library 'module', but not @include it to 
anything, just to get
it into the directory for reference with the @library meta statement.

As for XUL, no, that is chrome-only, which you could do if you compiled 
your GmScript
into an extension and then added the XUL stuff.



More information about the Greasemonkey mailing list