How do I find which JavaScript is changing an element's style?

前端 未结 5 456
攒了一身酷
攒了一身酷 2020-12-08 09:44

I have an element that\'s getting styles applied via JavaScript. I\'m not sure exactly where; is there a way to check Firebug to show where the \"element.style\" is actually

5条回答
  •  一整个雨季
    2020-12-08 10:10

    I think this is what is default tool for the job, although it has limited debugging capabilities: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver

    Also, make sure Ad Blocker is not responsible.

提交回复
热议问题