[Greasemonkey] How to create a library.

Pedro Del Gallego pedro.delgallego at gmail.com
Wed Sep 7 22:21:59 EDT 2005


Hi, 

I need to create few scripts with similar feature. I like to reuse
several function, but i don't find how to call they after.

Has GM something like the include sentence in C? 

It will be nice do if a could do : 

include ( ./libraries/foo.user.js, myNameSpace)
myNameSpace.foo();


Thanks .
-- 
-------------------------------------
Pedro Del Gallego Vida 

Email              :   pedro.delgallego at gmail.com
IM Jabber       :   pedro.delgallego at jabber.org
Telefono VoIP   :   pedro.delgallego in Skype.


More information about the Greasemonkey mailing list