Answer the question
In order to leave comments, you need to log in
How to update JS page information?
I must say right away that this is not about Ajax. I'm making a browser extension that just looks for the video tag and style it. The bottom line is that the page does not initially have this video when it loads, and when I even call document.querySelectorAll('video') in the console, it shows that there is none (naturally, the video tag was already on the page). And another interesting fact, if you open the console, you won’t enter anything, but if after that you click on the arrow and select this video tag and write the same thing to the console again, then in response I will get the tag I need
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question