attachEvent detection (improvements needed)

W

wolverine

Hi,
I am in position that i need to detect calls to attachEvent what
ever it takes. So as of now for each of the html elements in dom i
will do

for each node
node.attachEvent = InterceptDynamicallyAttachedEvents;

where InterceptDynamicallyAttachedEvents is my handler. So i can get
all the calls to attachEvent at their point of origin. I know this is
not a good approach, but it seems the only available one.

The improvement i need is that even before i am able to parse the dom
completely some script code is calling attachEvent which i miss. I
need to get them too. Is there javascript(more happy) or non-
javascript solution (possibly with COM) to detect calls to
attachEvent ?

Thanks in Advance
Kiran.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,364
Latest member
Stevanida

Latest Threads

Top