[Greasemonkey] Adding methods/properies to document object with GM
Blake West
blakewest at gmail.com
Wed Jul 20 15:27:10 EDT 2005
On 7/20/05, Lenny Domnitser <ldrhcp at gmail.com> wrote:
> What you are doing is inserting HTML that references Javascript you
> define in the user script. A more elegant way to get the same
> functinality is using Javascript "closures", which means the scope of
> a function call is where the function is defined, not where it is
> called from.
Well, I don't understand the scope issue, but I can follow the example
and the suggestions.
Thanks!
More information about the Greasemonkey
mailing list