greasemonkey_在Firefox中更改或设置Greasemonkey脚本编辑器

greasemonkey_在Firefox中更改或设置Greasemonkey脚本编辑器

greasemonkey

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.

如果您是Firefox的Greasemonkey扩展的粉丝,您可能会想知道如何更改脚本编辑器/查看器,因为UI中没有此选项。 当您从某个网站下载脚本并且行尾在劣等的默认编辑器中不起作用时,情况更糟。

Holy Jumbled Notepad, Batman!

混乱的记事本,蝙蝠侠!

greasemonkey_在Firefox中更改或设置Greasemonkey脚本编辑器

Change Greasemonkey Script Editor

更改Greasemonkey脚本编辑器

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

在地址栏中键入about:config ,然后按以下内容进行过滤:

greasemonkey.editor

油猴编辑器

greasemonkey_在Firefox中更改或设置Greasemonkey脚本编辑器

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

    **名称 :润滑脂monkey.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. =)

本技巧适用于支持Firefox的任何操作系统。 感谢Daniel忘记了如何做并启发了这篇文章。 =)

翻译自: https://www.howtogeek.com/howto/internet/firefox/change-or-set-the-greasemonkey-script-editor-in-firefox/

greasemonkey