greasemonkey
About GreaseMonkey
Greasemonkey is a powerful tool for customizing Firefox.
Turnabout is a tool for IE for the same purpose. Its APIs are largely compatible with Greasemonkey, allowing for cross-browser user scripts.
Opera can also run Greasmonkey scipts using the built-in support for user javascripts.
While there is no way to extend Safari directly, Safari Guide will allow you to run JavaScripts (though not GreaseMonkey scripts) against the front page in Safari.
This page collects ways to use them with microformats.
Getting Started
Get Greasemonkey
- Download FireFox (required)
- Download Greasemonkey
Developing with Greasemonkey
- Dive Into Greasemonkey -- start here
Demo
Setup
- install microfomat-find: http://www.blogmatrix.com/include/microformat-find.user.js. Note: This does not work with FireFox 1.5+/GreaseMonkey 0.6.4+ due to major change in the way DOM objects are exposed to user scripts.
Prebuilt hCard
- go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/hCard
- look for the [hCard] icon and click on it
- click on "Add to Address Book"
- note the magic of the data: URI here ...
Dynamic hCard
- go to http://we05.com/presenters.cfm
- select any presenter
- look for the [hCard] icon and click on it
- click on "Show as Text"
hCard Mapping
- go to: http://www.blogmatrix.com/company_main/
- look for the [hCard] icon and click on it
- click on "Show on Google Maps"
- go "ooo and ahh" ...
xFolk demo
- go to: http://thecommunityengine.com/home/archives/2005/10/xfolk_vegomatic.html
- look for the [xFolk] icon and click on it
- look up tags on other services
Resources
Posts and Articles
- Bud Gibson on Follow-up to Greasemonkey & Microformats
- Alf Eaton on Extracting microcontent (XSLT, GRDDL, RDF)
- http://microformats.org/discuss/mail/microformats-discuss/2005-October/001112.html
- Phil Windley on Greasemonkey and Microformats
- 90% Grud on Greasemonkey and Microformats
- David Janes on "microformat find": Introduction, xFolk, hCard, hCalendar
Scripts
Some sample scripts:
- hCard
- http://diveintomark.org/projects/greasemonkey/hcard/
- http://www.blogmatrix.com/include/microformat-find.user.js
- hCalendar
- http://www.blogmatrix.com/include/microformat-find.user.js
- xFolk
- http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js
- http://www.blogmatrix.com/include/microformat-find.user.js
- RelLicense
- http://diveintomark.org/projects/greasemonkey/rellicense/
- XFN (Magic Line)
- http://diveintomark.org/projects/greasemonkey/magicline.user.js
- GRDDL/RDF
- http://alf.hubmed.org/microcontentextractor.user.js