X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

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

Размещено

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?
Цитата

Дополнительные сведения о системе

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Дополнительная информация

Задавший вопрос

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.

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.
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.