View Page Source Code In Your Favourite Text Editor

If you frequently examine the source code of web pages while using Firefox, this handy trick will load the source code directly in your favourite editor.

Over at The How-To Geek, they've shared a handy trick for ditching the basic source viewer included in Firefox. Load your Firefox configuration file by typing about:config in the address bar and then follow these steps:

1. Type or copy & paste "view_source.editor.external" (without the quote marks) into the Filter Address Bar. Once the about:config entry is displayed, right click on the entry and select "Toggle" to change the value to "true". 2. Type or copy & paste "view_source.editor.path" (without the quote marks) into the Filter Address Bar. Once the about:config entry is displayed, right click on the entry and select "Modify".

Fill in the path to your editor of choice and save your entry. From now on whenever you view source code from within Firefox it will load in the editor you specified.

View Webpage Source Code in Your favourite Text Editor [The How-To Geek]


Comments

    An easier approach if using Firefox is to install the ViewSourceWith addon....

    https://addons.mozilla.org/en-US/firefox/addon/394

Join the discussion!

Trending Stories Right Now