Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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?

Alla svar (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.