[Greasemonkey] 3b function Bug?
julien.couvreur at gmail.com
Sun Apr 24 23:09:29 EDT 2005
On 4/24/05, Aaron Boodman <zboogs at gmail.com> wrote:
> I now understand your problem. Took awhile to decode.
I didn't understand the couple first emails on this thread either.
Thanks for the recap of the problem.
Is the user script creating the onclick event, or is it present prior
to the user script?
If the user script attaches the event, you should use
addEventListener("click", monkey), or something like that. Since that
uses a function reference, or closure, there is no need for "monkey"
to be visible from the main scope (the scope of the page).
More information about the Greasemonkey