Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

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?

All Replies (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.