Boris Zbarsky wrote:

Jonas Sicking wrote:
oldAddEL = EventTarget.prototype.addEventListener;
Node.prototype.addEventListener = function(type,

I should note that this wouldn't work in recent Geckos, by the way...

I think it might actually, since addEventListener isn't on the nodes prototype chain normally.

But in any case if the above didn't work it's a Gecko bug and not something we should design APIs around.

/ Jonas

Reply via email to