Re: Finding events on a page added using addEventListener
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Jon wrote: > I can't find any interfaces that expose these events There isn't one. > Node.prototype.addEventListenerOld = Node.prototype.addEventListener; Does it work if you do it on, say, HTMLBodyElement instead of Node and then try calling addEventListener() on the body? Note that there is some magic involving trusted/untrusted events which might mean that the property lives on objects directly, not on the prototype chain... -Boris