greasemonkey

From Microformats Wiki
(Redirected from Greasemonkey)
Jump to navigation Jump to search

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

Developing with Greasemonkey

The page formerly linked from here (http:// diveintogreasemonkey.org/) isn't active any more, -- so don't start here.

  • Maybe Greasemonkey Wiki might be a good starting point instead.

Demo

Setup

Prebuilt hCard

  • go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/hCard (ed: dead link)
  • 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 (ed : dead link - feb 2006)
  • select any presenter
  • look for the [hCard] icon and click on it
  • click on "Show as Text"

hCard Mapping

xFolk demo

Resources

Posts and Articles

Scripts

Some sample user scripts:

tails
http://blog.codeeg.com/tails-firefox-extension/ (shows all, works with 1.5)
http://blog.codeeg.com/tails-firefox-extension-03/ (newer version of tails)
SmartZilla
http://www.stripytshirt.co.uk/features/firefox/smartzilla (exports data)
hCard
http://diveintomark.org/projects/greasemonkey/hcard/
http://inside.glnetworks.de/2006/06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/ (updated for FF 1.5/Greasemonkey 0.6.4)
hCalendar
http://randomchaos.com/software/firefox/greasemonkey/googlehcalendar/googlehcalendar.user.js
hCalendar to Google Calendar extension
Convert hCalendar to Google Calendar
http://inside.glnetworks.de/2006/06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/ (updated for FF 1.5/Greasemonkey 0.6.4)
xFolk
http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js
http://inside.glnetworks.de/2006/06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/ (updated for FF 1.5/Greasemonkey 0.6.4)
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
adr | geo - GreaseRoute
http://code.highearthorbit.com/greaseroute/index.php
adr | geo -GreaseRouteEmbed
http://code.highearthorbit.com/greaseroute/index.php

See also