How to find out who changes a DOM element?

Right click on DOM element > Break on > Attributes Modifications

stackoverflow.com/a/29975734