Detect and monitor DOM changes with MutationObserver
The MutationObserver JavaScript API allows a developer to actively watch for DOM changes, so that if something gets changed, added or removed within the boundaries of the specified DOM node, a callback function will be triggered. Browser support for this API is pretty good as well. All major modern…
