Is it possible to track DOM insertions and changes in the DOM in some way, and then decide whether this is done in some way or not? Through some parameter, to cancel the event or cause the event does not occur when I perform a custom action, for example, one second callback.
I don’t need to work in all browsers, and more specifically, I need it to be applied in some situations and specifically run tests for the extension that I create for Google Chrome, so the browser is Google Chrome.
There is an element in the DOM that I modify, extending and applying this right, but this DOM element is updated after a certain action (send a message) to send the DOM element is “updated” and returns to the initial state of deleting the changes that I made, to me you should always save your changes, and not the "original" imposed by the modification of the DOM through the site.
source
share