如何在Greasemonkey 4中创建新脚本? [英] How do you create a new script in Greasemonkey 4?
问题描述
Greasemonkey 4.0更改了其界面,在我生命中,我找不到任何方法来创建新脚本.
Greasemonkey 4.0 has changed its interface, and for the life of me I cannot find any way to create a new script.
推荐答案
更新:这是错误)
Update: this was fixed in version 4.1 on 11-Dec-2017 (thankfully someone opened a bug for it)
4.0版本似乎没有办法做到这一点(并且记录非常差),所以我的解决方法是安装一个风险似乎很小的简单/简短脚本,然后编辑该脚本以使其成为我自己的脚本
It really seems like version 4.0 has no way to do this (and is very poorly documented) and so my workaround was just to install a simple/short script that seemed low risk and then just edit that script to make it my own.
我使用了此脚本 (
I used this script (source code to check for safety) and clicked the green "Install" button near the upper right of the page:
这将它安装到Greasemonkey中.
This installed it into Greasemonkey.
然后,您可以单击Greasemonkey工具栏图标,单击刚刚添加的脚本,然后在子菜单中单击编辑"进行编辑.
After that, you can click on the Greasemonkey toolbar icon, click on the script you just added, and then click "Edit" in the submenu to edit it.
这篇关于如何在Greasemonkey 4中创建新脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!