Small Mosaic


Categories:

books
career
codinghorrors
comics
events
geekstuff
justdont
languages
languages/bash
linkshot
magazines
meta
misctech
movies
nottech
operatingsystems
operatingsystems/linux
operatingsystems/linux/debian
operatingsystems/solaris
paranoidadmin
perl
python
ruby
security
security/apache
security/tools
serversmells
sites
specifications
sysadmin
tools
tools/commandline
tools/firefox
tools/gui
tools/network
tools/online
tools/online/greasemonkey
unixdaemon

Archives:

September 20084
August 200812
July 20089
April 20084
March 20081
February 20081
January 200815
August 20072
June 20079
May 20076
April 20078
March 200731
February 20073
January 200721
December 20061
November 20064
October 20066
September 200632
August 200617
July 200614
June 20069
May 200613
March 200611
February 200616
January 200611
December 20051
November 20056
October 200519
September 200525
August 200516
July 200516
June 200513
May 20052
April 200519
March 200531
February 200520
January 200531
December 200421
November 200430
October 200432
September 200418
August 20047
July 200414
June 20045

Wed, 08 Jun 2005

Dive Into Greasemonkey -- Book Review
Q: What is Greasemonkey?
A: Greasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you visit. You can use it to make a web site more readable or more usable. You can fix rendering bugs that the site owner can't be bothered to fix themselves. You can alter pages so they work better with assistive technologies that speak a web page out loud or convert it to Braille. You can even automatically retrieve data from other sites to make two sites more interconnected. From the opening chapter of Dive Into Greasemonkey.

It is often said that OpenSource projects have a lack of documentation and a major lack of good documentation, well Mark Pilgrim is fixing that one freely available (and GPL'd) guide at a time. In Dive Into Greasemonkey Mark takes the reader through the basic concepts of Greasemonkey, demonstrates how to get up and running with an example install, and out in to the land of custom user scripts. The whole book is written in an accessible, easy to follow way that takes the user through all the required stages but without the unnecessary padding that plagues too many commercial books.

After introducing Greasemonkey, showing how a basic script is constructed and how it can be debugged the book reaches its most useful sections. Chapter 4 contains a number of short snippets of reusable code and explanations on what each of them does. The presentation of the snippets is a basic Greasemonkey cookbook and makes the chapter a very useful reference you'll find yourself occasionally dipping in to.

Chapter 5 continues this approach but takes the reader through some fully developed scripts which get longer and more featureful as the chapter progresses. While snippets are useful I always like to see a couple of full examples and this chapter provides some varied ones that expose the reader to some of the more common itches they'll want to scratch.

So what else is there to mention? The book comes with a small number of videos that show the some of the tasks step by step for the more basic users. It provides enough further reading to be your first stop even when looking for tricks and tactics beyond what the book covers and even provides short, but informative introductions to the DOM Inspector included in FireFox and a short tangent in to Jesse Rudderman's JavaScript Shell.

Summary: So how good is the book? Well after reading through it once I'm writing my own basic scripts and consulting chapters 4 and 5 for code snippets I can use immediately; what else could you ask for? 8/10.

I've also filed this under Dive Into Greasemonkey book review.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2005/06/08 21:01 | /books | Permanent link to this entry | This entry + same date


books career codinghorrors events geekstuff justdont languages/bash linkshot magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl python ruby security security/apache security/tools serversmells sites specifications sysadmin tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey unixdaemon

Copyright © 2000-2005 Dean Wilson XML feed logo