Is there a method that signals when an element changes

My application needs to capture changes on elements made through dev inspector, which it does (using MutationObserver) if the style is added inline, but not if the style is added to the class.

I have been thinking about comparing the computedStyles with setTimeout as a last resort, but hope there is a better solution.

Is there a method that signals when an element changes (no matter how it’s done) ?

Alternatively

  1. Is there a method that can signal when anything at all changes in the app/document?
  2. Is there any method that can signal when the inspector is open (both dock / undock) ? Because then I can use setTimeout for that occasion only.
  3. Open to other suggestions

What to you want to achieve with this?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.