Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View real HTML source in browser

I lookong for some IE or Firefox extension, which allows to browse html source, corresponding to data, shown in browser window right now.

I have large web application with alot of code, generated by JavaScript. I need to extract real HTML code, which I see in browser window right now (View source function shows only code loaded from server, not generated by JS). Most of JavaScript debuggers can show DOM model from browser memory, but I'am need something more friendly, like printable HTML. Does anybody know tools or plugins for IE (preferred) or Firefox?

like image 868
AlexLocust Avatar asked Sep 28 '26 17:09

AlexLocust


2 Answers

Firefox's Web Developer extension will allow you to do this. After you install it, just select View Source->View Generated Source.

like image 165
Ryan Rivest Avatar answered Oct 01 '26 07:10

Ryan Rivest


FireBug for Firefox will display the HTML corresponding to what you see in the browser window right now (that is including any modifications made in JavaScript).

like image 41
Willis Blackburn Avatar answered Oct 01 '26 05:10

Willis Blackburn