Firefox source code

I noticed that the source code shown in Firefox seems to be incomplete. I have the latest version. When using the Firebug plugin to browse the web, I can find elements that are simply not recognized by Firefox.

This is for an automated script I'm working on.

I am interested in a few things:

  • Why is the firefox plugin capable of recognizing Firefox elements, and not?
  • Is there a way to transfer the source from the Firebug engine to Firefox, or any other viable workaround that will allow Firefox to recognize all the elements on the page?

I assume that these "hidden" elements were created by javascript after the page loaded, but I'm not sure.

+3
source share
6 answers

I would say that Firebug shows what is in the DOM (that is, what is on the page the moment you look at it), while the View Source moves the source that was received from the server (that is, what is located to the page the first time it is displayed).

If you want to see the “source” from the DOM, perhaps the “Web Developer Panel Extension” may help: from what I remember, it provides the option “view the generated source”.

+11
source

For number 2

Ctrl + A "" , . html, Firebug.

+2

. " " , . Firebug , " ", DOM HTML-, HTML.

+1

.

View Source HTML-, .

Firebug HTML , .
, Javascript, Firebug ( ), View Source. ( HTML, )

Firefox View Selection, , - , DOM , Firebug. ( , , , DOM , , )
, Ctrl + A, " ".

theis , , .

0

Firefox , , JavaScript . Firebug .

0

Ctrl-U | HTML-, .

, , , - , Firebug, - DOM. Firefox, -, DOM - HTML, javascript, , .

0

Source: https://habr.com/ru/post/1725538/


All Articles