Mutation Events



Is there any way to simulate mutation events using mshtml and the web
browser control? I need to be able to detect when nodes are inserted
(DOMNodeInserted) and removed from the dom (DOMNodeRemoved) as well as
when they are modified. Do I have to override the removeChild,
attachChild, insertBefore, etc. methods to simulate these events or is
there a better way to do this? I've heard of polling the get_all
collection on an interval to see if the size of the collection has
changed, but this won't help when the same number of nodes have been
inserted and removed during the interval. Also, is using
OnPropertyChange the best way to simulate DOMAttributeModified
events?

We need fined grained control of the page so we can detect when script
has added new html fields dynamically. In firefox, we use mutation
events to see when the page changes after being loaded. We have yet
to find a good way to do this using IE.

Thanks,
B

.