|
|
|
|
|
by Vekz
5014 days ago
|
|
Good Idea. Unfortunately the underlying technique the author has used to achieve this (DOM mutation events) is flawed, deprecated and non-optimal. https://developer.mozilla.org/en-US/docs/DOM/Mutation_events "Adding DOM mutation listeners to a document profoundly degrades the performance of further DOM modifications to that document (making them 1.5 - 7 times slower!). Moreover, removing the listeners does not reverse the damage." Using the modern DOM mutation observers may be a better solution. |
|
http://updates.html5rocks.com/2012/02/Detect-DOM-changes-wit...