Change or Set the Greasemonkey Script Editor in Firefox
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:
greasemonkey.editor

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. =)

Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Oh! This is very useful.
I’ve tried editing GM scripts before, but I couldn’t get them opened anywhere.
This tip is really handy.
Thank you!
I can’t tell you how long I’ve needed to make this adjustment… and now I know how, thanks to you! Thank you!
Since GM scripts are just .js files, what I’d always done was just open them from the directory path & associate .js files with Notepad++. This is a much better solution.
thanks
Thanks so much for the info about changing the editor for Greasemonkey. I chose notepad the first time I edited a script and I was going crazy trying to change it to Progreammer’s Notepad. Great site.
jambarama
Since GM scripts are just .js files, what I’d always done was just open them from the directory path & associate .js files with Notepad++. This is a much better solution.
I tried that and it just wouldn’t work for me.
Thanks a lot. This was exactly what I needed!
thanks man!