Trying to detect if new elements are added or removed from the DOM in MSHTML. Is there such event that will fire?
http://msdn.microsoft.com/en-us/library/aa741877(v=VS.85).aspx
In IE9 there is IDOMMutationEvent::initMutationEvent
http://msdn.microsoft.com/en-us/library/ff975905(v=vs.85).aspx
Yes, it is possible now in IE8, though it is not part of the MSHTML event structure, but Accessibility.
Trigger (EVENT_OBJECT_REORDER) is new in IE8 - See http://blogs.msdn.com/b/ie/archive/2008/12/10/new-accessibility-features-in-ie8.aspx?PageIndex=7
We use it with out BHO, but you could equally hook outside of IE if you choose.
And here is how you might look at the accessibility and get the document/browser