I don't know a thing about implementing extensions in Firefox, but having not seen an extension that does anything like this in the Mozilla's addons page, I don't believe it is possible, but thought I will ask about it anway.
views:
89answers:
2
+1
Q:
Will I be able to get a list of registered event handlers on a DOM node inside a firefox extension?
+2
A:
Answer seems to be 'not yet'. http://www.quirksmode.org/js/events_advanced.html says
One problem of the current implementation of W3C’s event registration model is that you can’t find out if any event handlers are already registered to an element.
and
Only in its very recent DOM Level 3 Events W3C adds an
eventListenerList
to store a list of event handlers that are currently registered on an element. This functionality is not yet supported by any browser, it’s too new.
Rob Van Dam
2010-01-09 18:56:57
+2
A:
Yes, in Firefox 3.6: https://bugzilla.mozilla.org/show_bug.cgi?id=448602
Nickolay
2010-01-09 21:32:49