If you are a fan of the Greasemonkey extension for Firefox you might wonder how to change the script editor/viewer as there is no option for this in the UI. It’s even worse when you download scripts from some website and the line endings don’t work in the inferior default editor.

Holy Jumbled Notepad, Batman!


Change Greasemonkey Script Editor

Type about:config into the address bar, and then filter by the following:



If the key does not exist, right-click in the empty area and create a new string, giving it the following values:

  • Key Name: greasemonkey.editor
  • Key Value: Full path to an editor that doesn’t suck as much as notepad.

This tip should work for any operating system that supports Firefox. Thanks to Daniel for forgetting how to do this and inspiring the article. =)