DOM mutation events replacement
The reason that mutation events was deprecated was because of huge performance issues. The replacement is Mutation Observers, look at http://updates.html5rocks.com/2012/02/Detect-DOM-changes-with-Mutation-Observers and https://developer.mozilla.org/en/DOM/DOM_Mutation_Observers Information about mutations is delivered to observers as an ordered sequence of MutationRecords, representing an observed sequence of changes that have occurred Sample usage: var observer = new MutationObserver(function(mutationRecords) { // Handle … Read more