Are there any practical ways to tell what part of the DOM was modified if you know that it will be modified?
I am writing a plugin that will be running along with javascript that i did not write. an event will be triggered before DOM is modified, and one event will be triggered after the modification. It is my job to decide what was changed. is this possible, and if so what is the least horrible way to do this?
Depending on the browser support you need, you may be able to use DOM mutation events.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With