How can I copy dynamically generated source HTML from the web?

For design purposes, I want to copy the exact HTML that some JavaScript creates after the page loads. Firebug shows me what happens, of course, but I really need some kind of static text that I can copy and paste as I wish.

+3
source share
6 answers

View Source menu Web developer . The Firefox app offers the View Generated Source tool.

+9
source

innerHTML outerHTML. Firefox , , " " .

+6

HTML firebug ( IE8) .

+4

Google Chrome " ", " HTML"

+3

IE/firefox, : https://www.squarefree.com/bookmarklets/webdevel.html#generated_source

google chrome " ". DOM. '

" ". -. " DOM" ( ), " DOM" ( )

IE - F12, . "" > "" > "DOM" () "Ctrl + Shift + G" . DOM.

For firefox, alternatively expand the web developer toolbar and select View Source-> View Generated source in it.

0
source

you can also write perl script using library mechanization.

-1
source

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


All Articles