Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Viewing HTML source code

  • Hello. Im running WIN10 with Version: 54.0.2952.71 Opera.

    Basically I design websites & want to / need to look at the source code of my results. The problem I am having is that when I tell Opera to view the source code it re-loads or re-submits the URL/website URL to the server and then displays the HTML source code of THAT submission.

    Is there a way to skip this and view the source of whatever im actually looking at. Some of my websites uses POST data, but the "refresh" part of reloading the view-source only submits the URL without submitting the form/POST data.

    This of course CHANGES the results the website sends me. & thus i cant look at the source code of what im wanting.

    Help.

  • ctrl + shift + i and look at the "Elements" tab for a current snapshot of the dom. Or, goto "sources -> page" and select the page in question (look for it by title). The latter should give you the source as downloaded. If not, you can go to the Network tab, disable cache before loading the page and inspect the response for the page request.

    As for the view-source:// way, I'm not sure how to work around that.