Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of View Source Switch

View Source Switch by Florent Tassy

One-click switch between web page and view-source

5 (2 reviews)5 (2 reviews)
13 Users13 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
View Source Switch iconView Source Switch demoManage extensions shortcuts
About this extension
View Source Switch
View Source Switch is a Firefox add-on that allows one click switching the active tab between "view source" and regular web page.

How does it work ?
Once the add-on is installed, a new icon appears in Firefox toolbar.

Click on it to switch to the view-source of your active tab. Click again to switch back to the regular view.

Instead of clicking, you can switch page with a keyboard shortcut. The default one is Ctrl + Shift + U / command + shift + U.
This key combination is intended to be similar to the Firefox built-in shortcut to view source in a new tab.
However, this key combination can easily be changed in the Firefox add-on menu

You can change the color scheme used for syntax highlight as well as the line wrapping in the extension preferences

What permissions are needed ?
View Source Switch requires the following permissions :

Access your data for all websites

Per Mozilla documentation, "Access your data for all websites" permission means that "The extension can read the content of any web page you visit as well as data you enter into those web pages, such as usernames and passwords".
This permission is needed to get the source code of the page, apply highlighting on it,
and then re-render this highlighted source code.

Access browser tabs

Per Mozilla documentation, "Access browser tabs" permission means that "The extension could obtain the URL, title, and icon from any tab. ".
This permission is needed to maintain the View Source Switch icon state according to
the currently displayed URL.

Does View Source Switch collect my data ?
No.

Does View Source Switch send my data to anyone ?
No.
Rated 5 by 2 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
2
4
0
3
0
2
0
1
0
Read all 2 reviews
Permissions and dataLearn more

Required permissions:

  • Access browser tabs
  • Access your data for all websites
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
4.0.0
Size
279.93 KB
Last updated
2 years ago (Oct 31, 2023)
Related Categories
  • Web Development
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 4.0.0
Add possibility to choose source code or rendered code
New light/dark icons
More extensions by Florent Tassy
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.