Closed daemongh closed 8 years ago
To avoid using a timer, the preloaded JS will now be hooking into the DOMSubtreeModified event.
DOMSubtreeModified
Also added some comments, cleaned up some of the code and made it so the notifications should only be sent if there is a change in the count.
That sounds great, thanks! I'll review this ASAP.
Okay, it's now using the MutationObserver.
Awesome. Merging.
To avoid using a timer, the preloaded JS will now be hooking into the
DOMSubtreeModified
event.Also added some comments, cleaned up some of the code and made it so the notifications should only be sent if there is a change in the count.