output
firefox 47 使用 greasemonkey (油猴子) 写 helloworld
input
fedora 24
baidu Greasemonkey helloworld
http://www.veryhuo.com/a/view/16289.html
baidu greasemonkey 命名 脚本
https://zhidao.baidu.com/question/425298897310974492.html
algo
vim helloworld.user.js
alert('Hello world!');
firefox ctrl+o 打开 helloworld.user.js 进行安装脚本
(hello.js helloworld.user 命名无法被 greasemonkey 识别,仅仅显示代码)
新建标签即可显示效果
本文介绍如何在 Firefox 浏览器中使用 Greasemonkey 插件编写并运行简单的 JavaScript 脚本。通过创建一个显示 'Hello World' 的脚本来演示整个过程,包括脚本文件的命名、编辑及安装。
2224

被折叠的 条评论
为什么被折叠?



