What is the source viewer?
The source viewer is a simple tool for analyzing and modifying webpages. If you want to have a look at the source code of the current webpage, take one of the following steps:
- Right-click (or Ctrl-click) the page and select "Source"
- From the menu, go to
- Use the keyboard shortcut ⌘ + U
The source viewer opens in a new tab on your tab bar, and it has syntax highlighting to give you a better overview of the source. It is not just a viewer, but also an editor, and allows you to make changes to the page. It may surprise you to learn that you can make changes to the page (temporarily), even if it is not on your computer! If the page is on your computer, changes to the page are applied permanently. If not, changes to the page are applied only in cache, and reloading the page will reset it to its original state.
The source viewer includes two buttons for modifying and saving the page:
- Apply Changes - Once you have edited the source, this button applies the changes to the page
- Save - This button saves the (possibly modified) page source to a location of your choice
If you prefer to use an external program for source viewing and editing, you can specify it in the programs preferences.
See also: Opera Developer Tools