In the web development world, most of the design isn’t in the page HTML anymore, it’s been moved to the included CSS and Javascript files. The problem is that when you want to take a peek into the code there’s not a really simple way to view those CSS/JS files.

There’s an extension called JSView that will let you easily view the source of included files a couple of different ways.

Default Installation Usage

Once you’ve installed the extension, you’ll see a new option called “View Page Source – JSView”. It will take you to the same screen as the regular View Page Source dialog will…

image

Now when you are in the View Source screen, the View menu will contain extra menu items that let you quickly access the included files.

image

Quick Access Context Menu

Open up the JSView Options screen from the Tools menu, and uncheck the “Disable jsview popup menus” item to add the extra menus to the default right-click menu.

image

You’ll also want to choose “Disable View Page Source – JSView” to disable the redundant JSView item on the menu. Now when you right-click in any page, you can quickly get access to the source.

image

Note that if you want the most minimal experience, you could choose to disable all the options and simply access the functions from the view source window.

Other Options

You can also choose whether to open in a new window…

image

Or whether to use an external editor…

image

This is a really useful extension that has now become part of my web development toolkit.

Download JSView Extension from Mozilla Add-ons

Lowell Heddings Lowell Heddings
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work.
Read Full Bio »