Monday, October 26, 2015

How to show/save the HTML including pictures as currently shown by the web browser?

When I display a webpage and want to see the source code, most times it only shows the source code without modifications done by JavaScript. Saving the website seems to download the original again.


How can I save the HTML including pictures etc. which is currently shown by the webbrowser?


I tried (sorry if translations are incorrect, I'm on a German system):



  • IE: File / Save as --> redownloads original

  • IE: right click, view source --> only original HTML

  • Opera: File/Save --> only original HTML

  • Opera: right click, source --> only original HTML

  • Opera: Dragonfly --> dynamic HTML, but how to save?

  • Firefox: right click: view page source --> original HTML

  • Firefox: Inspector --> dynamic HTML, can copy to clipboard

  • Firefox: File/Save as --> this seems to work


Firefox seems to be the only browser which does it the way I like (actually I'd like to be able to choose between the two modes). Is this also possible in the other browsers?


Update:


Consider this example:










I want to save the HTML file including the image. IE and Opera do not save the image.


I'd like to do it in other browsers than Firefox for valid reasons, e.g.



  • some websites work better in IE (like Sharepoint)

  • some websites do not support Opera very well

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...