Firefox: View code in an external editor

When you want to view the source of a page, it opens up in browser popup. However, if you want, you can make it open in your favorite editor, instead of having to cut and paste. To achieve this: do the following:

  1. In the address field, go to about:config
  2. Accept the warning
  3. Search for view_source.editor
  4. Change view_source.editor.external to true
  5. Change view_source.editor.path to the exact path to your editor of choice

By posting a comment, you consent to our collecting the information you enter. See privacy policy for more information.

This site uses Akismet to reduce spam. Learn how your comment data is processed.