On 9/2/11 12:06 PM, Anthony Lieuallen wrote:
On Fri Sep  2 14:54:08 2011, smallest wrote:
how does one remove an anonymous event listener function ?

You'd probably not make it anonymous in real code, I was just taking liberties with how much code I typed into an email message.


You should be able to use arguments.callee in the call to removeEventListener in the listener function, although I've never done that in a Greasemonkey script, just regular JavaScript.

Brian

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to