TableOfContents

Greasemonkey简介

Greasemonkey一个Firefox的扩展,可以执行javascript脚本,为页面添加很多实用功能。很Cool,以后为firefox编写插件就更容易了,推荐之!

主页:http://greasemonkey.mozdev.org/index.html

可用脚本:http://dunck.us/collab/GreaseMonkeyUserScriptsGeneric

关于Greasemonkey的开发

Hello World例子

attachment:hello.user.js

将一个Greasemonkey组件变为一个Firefox Extensions

按照以下步骤你就可以将你的Greasemonkey组件转换为Firefox Extensions,ok让我们开始

P.S:

大家贡献自己开发的脚本

清风的脚本

一个新浪vivi的插件

安装以后,屏幕右下角出现一vivi图标,点击后即可将当前网页保存至vivi。

发布1.1版本,使得vivi图标始终居于右下角。

解决方法:

div.style.position = "fixed";

截图:

attachment:vivi.scr1.gif

安装:

attachment:vivi1.1.user.js

对其按右键即可安装

说明: 安装以后,点击网页任意图片都会弹出Hello World

推荐脚本

Inline MP3 Player

attachment:Greasemonkey_mp3.gif

相关资源

Dive into Greasemonkey

Greasemonkey for IE

http://www.bhelpuri.net/Trixie/Trixie.htm