Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

How to track a page load progression before events are fired?

  • 1 отговор
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от kensley.lewis

more options

I'm working with a third-party project that is loading html, css and javascript into a browser. At some point, a class is added on to an element. With FireFox 70.0.1, is there a way I can walk through the page load progression until that class is added? This way I can see who is adding that element to the page?

I'm working with a third-party project that is loading html, css and javascript into a browser. At some point, a class is added on to an element. With FireFox 70.0.1, is there a way I can walk through the page load progression until that class is added? This way I can see who is adding that element to the page?

Всички отговори (1)

more options

If there is an easier way to tell when an event fires in the DOM, that would be awesome. I just want to pin-point which javascript file adds a certain class (injected through javascript), into the DOM.

When working with a project that has over 50 javascript files loaded, it's hard to see "which" js file injects code into the DOM. Can FireFox help me in this case if I know the class name that is being injected?

Many thanks for any assistant.