Greasemonkey Iantha Haight

advertisement
Greasemonkey
Iantha Haight
Greasemonkey Basics

Greasemonkey is…




A Firefox extension
A user-script manager
User scripts tell Greasemonkey where and how to run
Use Greasemonkey to improve accessibility, fix errors on
a page, and create mashups
image from http://www.makeuseof.com/tag/greasemonkey-firefox-addon/
Which Browsers Have Greasemonkey
Functionality?

Mozilla family of browsers
Firefox



Flock
Epiphany
Opera can run some Greasemonkey scripts
Greasemonkey for Internet Explorer
GreaseKit (formerly Creammonkey) and PithHelmet for
Safari (far fewer script options)
About Scripts





“[A] user script is a single file, written in Javascript, that
customizes one or more web pages”
Filename ends in .user.js
Metadata
Greasemonkey automatically wraps user scripts in an
anonymous function wrapper
Variables and functions are not available once script stops
running
Quotation from http://diveintogreasemonkey.org/install/userscript.html
Greasemonkey Web Sites




http://www.greasespot.net/—official blog and homepage
http://wiki.greasespot.net/Main_Page—tutorials, authoring
tips, FAQ’s,
http://userscripts.org/—official scripts repository, but
scripts can be found all over the Web
http://diveintogreasemonkey.org/—useful how-to-guide,
but a little out-of-date
Using Greasemonkey

Download Greasemonkey
Using Greasemonkey Part 2

You can also enable/disable Greasemonkey by clicking on the
monkey icon in the botton-right of browser
Greasemonkey On
Greasemonkey Off
Installing User Scripts





Locating scripts at userscripts.org can be challenging
because there are thousands
Know the Web site you want to modify
Top 10 lists
Scripts may be outdated
You can exclude and
include Web sites
Del.icio.us User Scripts—Digglicious
http://www.killertechtips.com/2008/06/03/delicious-greasemonkey-script/
More Del.icio.us Scripts
Fav.icio.us
Del.icio.us/Google Reader Mash-up
Del.icio.us/Google Search Results
Other Cool User Scripts












YouTube Download
YouTube Lyrics
YouTube Cleaner 3.0
GoogleMonkeyR
LookItUp2
Dejalicious
GoogleDocs: Download
Netflix Queue Sorter
RottenNetflix
Greased Lightbox
Craigslist Image Preview
Memorandum Colors
Image from http://www.shorelinesign.com/automotive.html
Download