greasemonkey: Difference between revisions
Jump to navigation
Jump to search
(19 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
= About GreaseMonkey = | = About GreaseMonkey = | ||
Greasemonkey is a powerful tool for customizing Firefox. | Greasemonkey is a powerful tool for customizing [[Firefox]]. | ||
[http://www.reifysoft.com/turnabout.php Turnabout] is a tool for IE for the same purpose. Its APIs are largely compatible with Greasemonkey, allowing for cross-browser user scripts. | [http://www.reifysoft.com/turnabout.php Turnabout] is a tool for IE for the same purpose. Its APIs are largely compatible with Greasemonkey, allowing for cross-browser user scripts. | ||
Line 6: | Line 6: | ||
Opera can also run Greasmonkey scipts using the built-in support for [http://www.opera.com/support/tutorials/userjs/ user javascripts]. | Opera can also run Greasmonkey scipts using the built-in support for [http://www.opera.com/support/tutorials/userjs/ user javascripts]. | ||
While there is no way to extend Safari directly, [http://safariguide.net/ Safari Guide] will allow you to run JavaScripts against the front page in Safari. | While there is no way to extend Safari directly, [http://safariguide.net/ 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. | This page collects ways to use them with microformats. | ||
Line 16: | Line 16: | ||
== Developing with 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 [http://wiki.greasespot.net/Main_Page Wiki] might be a good starting point instead. | |||
= Demo = | = Demo = | ||
== Setup == | == Setup == | ||
* install microfomat-find: http:// | * install microfomat-find-gm5: http://inside.glnetworks.de/2006/06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/. '''Note:''' This does work with FireFox 1.5+/GreaseMonkey 0.6.4+, now! | ||
== Prebuilt hCard == | == Prebuilt hCard == | ||
* go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/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 | * look for the [hCard] icon and click on it | ||
* click on "Add to Address Book" | * click on "Add to Address Book" | ||
Line 32: | Line 31: | ||
== Dynamic hCard == | == Dynamic hCard == | ||
* go to http://we05.com/presenters.cfm | * go to http://we05.com/presenters.cfm (ed : dead link - feb 2006) | ||
* select any presenter | * select any presenter | ||
* look for the [hCard] icon and click on it | * look for the [hCard] icon and click on it | ||
Line 56: | Line 55: | ||
* http://microformats.org/discuss/mail/microformats-discuss/2005-October/001112.html | * http://microformats.org/discuss/mail/microformats-discuss/2005-October/001112.html | ||
* Phil Windley on [http://www.windley.com/archives/2005/10/greasemonkey_an.shtml Greasemonkey and Microformats] | * Phil Windley on [http://www.windley.com/archives/2005/10/greasemonkey_an.shtml Greasemonkey and Microformats] | ||
* 90% | * 90% Crud on [http://george.hotelling.net/90percent/geekery/greasemonkey_and_microformats.php Greasemonkey and Microformats] | ||
* David Janes on "microformat find": [http://blog.davidjanes.com/mtarchives/2005_08.html#003375 Introduction], [http://blog.davidjanes.com/mtarchives/2005_08.html#003377 xFolk], [http://blog.davidjanes.com/mtarchives/2005_08.html#003376 hCard], [http://blog.davidjanes.com/mtarchives/2005_08.html#003379 hCalendar] | * David Janes on "microformat find": [http://blog.davidjanes.com/mtarchives/2005_08.html#003375 Introduction], [http://blog.davidjanes.com/mtarchives/2005_08.html#003377 xFolk], [http://blog.davidjanes.com/mtarchives/2005_08.html#003376 hCard], [http://blog.davidjanes.com/mtarchives/2005_08.html#003379 hCalendar] | ||
== Scripts == | == Scripts == | ||
Some sample 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|hCard]]:http://diveintomark.org/projects/greasemonkey/hcard/ | ;[[hcard|hCard]]:http://diveintomark.org/projects/greasemonkey/hcard/ | ||
:http:// | :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|hCalendar]]:http://www. | ;[[hcalendar|hCalendar]] | ||
:http://randomchaos.com/software/firefox/greasemonkey/googlehcalendar/googlehcalendar.user.js | |||
:[http://www.chanezon.com/pat/code/googlehcal/converthcalendartogoogle.user.js hCalendar to Google Calendar extension] | |||
:[http://torrez.us/code/googlehcal/converthcalendartogooglecal.user.js 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|xFolk]]:http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js | ;[[xfolk|xFolk]]:http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js | ||
:http:// | :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|RelLicense]]:http://diveintomark.org/projects/greasemonkey/rellicense/ | ;[[rellicense|RelLicense]]:http://diveintomark.org/projects/greasemonkey/rellicense/ | ||
;XFN (Magic Line):http://diveintomark.org/projects/greasemonkey/magicline.user.js | ;XFN (Magic Line):http://diveintomark.org/projects/greasemonkey/magicline.user.js | ||
;GRDDL/RDF:http://alf.hubmed.org/microcontentextractor.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== | |||
*[[firefox-extensions]] - other tools for customizing Firefox. |
Latest revision as of 02:53, 28 May 2015
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
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
- install microfomat-find-gm5: http://inside.glnetworks.de/2006/06/05/microformats-have-arrived-in-firefox-15-greasemonkey-06/. Note: This does work with FireFox 1.5+/GreaseMonkey 0.6.4+, now!
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
- 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% Crud on Greasemonkey and Microformats
- David Janes on "microformat find": Introduction, xFolk, hCard, hCalendar
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
- firefox-extensions - other tools for customizing Firefox.