« Return to Thread: Including other JS files and using "class" and custom styles

Re: Including other JS files and using "class" and custom styles

by WillBo :: Rate this Message:

Reply to Author | View in Thread

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.

_______________________________________________
Greasemonkey mailing list
Greasemonkey@...
http://mozdev.org/mailman/listinfo/greasemonkey

 « Return to Thread: Including other JS files and using "class" and custom styles