[Greasemonkey] Greasemonkey class libraries?

Jeremy Dunck jdunck at gmail.com
Fri Feb 10 09:10:03 EST 2006


On 2/10/06, Chris Beams <cbeams at gmail.com> wrote:
> I'm building a large, multi-site GM mash-up application and would
> like to reuse many of the classes I'm writing across various pages.
> My hope was to be able to create a user script (or scripts) serving
> as a class library.  These 'class library' user scripts would then be
> @included on all the pages that need the classes defined within
> them.  For example:

Three ages ago, Gareth Andrew made a patch to do this:
http://www.mozdev.org/pipermail/greasemonkey/2005-September/005645.html

It still hasn't made it into GM.  I've given GM no love lately.

Here's a recent patch, and some discussion around it:
http://www.mozdev.org/pipermail/greasemonkey/2006-January/thread.html#7403

If you feel brave, you can patch your GM with that.


More information about the Greasemonkey mailing list