Being able to right click on a web page to take a look at the source code is handy but the Firefox source code viewer is a bit limited (not surprisingly really – it is just a viewer after all). Inevitably, then, there will come a time when you want to do more than just look at the source and will, therefore, need to get it into a proper text editor of some sort. You could, of course, just copy and paste but there is a better way.
You can bring up the Firefox configuration options by entering about:config
in the Awesome bar and then search for view_source
.
There are two configuration options you need to change:
view_source.editor.external
needs to be set to true
view_source.editor.path
needs to be set to the full pathname of your editor of choice
And you’re done.