Consider you have to write some javascript/jquery which is to be run on a multitude of websites and you need to be informed on updates made to the page's content (reason is not important). For instance, everytime a few new elements are added to the page you need to be informed of these divs and these divs alone.
Also this script cannot be a timeout checking the entire document because that will kill the browser's resources for large pages/a lot of javascript. It needs to sit there and not take up many resources then fire only, and only when the document has been altered. Even if a new node is altered, that node is to then monitor it's own child nodes and fire if any of those newly added nodes change.
I found MutationObservers to fulfill this need for Firefox and Google Chrome. But after days of painstaking research, and trial and error tests, aswell as seeking advice from other professionals - none of us have come up with a non-resource hogging way of doing this for IE.
Any ideas/suggestions/code please suggest