Where Are The Wise Men?

Mike's Ramblings

Gettin' Funky With GreaseMonkey

| Comments

I recently re-discovered Greasemonkey, a Firefox powered, client-side JavaScript library that lets you change the pages your way. [The Greasemonkey Homepage][]explains it better:

Greasemonkey is a Firefox extension that allows you to customize the way webpages look and function.

[I've used it before,][] but haven't touched it for quite some time. But I had an itch I decided to finally scratch . . .

For reasons too complicated to explain here, I use [SquirrelMail][]to read my email for hostetlerhome.com. The interface annoys me and my web hosts provider's implementation is horribly slow at times. Bored one day, I started looking for ways to tweak it and I[found some shortcut keys][] in a Greasemonkey script. And then I found [a good image viewer for SquirrelMail.][] And then this one that [displays the unread message count in the title.][] Jeepers -- almost like GMail with [Better GMail][]!

Then I started looking at other solutions for web annoyances. I don't go near as often as I used to, but I still like Geocaching but their site is fully of click-click-click when it could be much more streamlined. I found[GC Tour script][], and it's better than I could have ever hoped! You can keep your cache lists inside of GC Tours, download GPX files of them and the whole bit. A must-have for geocachers.

Now I decided to roll my own. I'd done this a couple of years ago, but I needed to refresh my memory. And I definitely had a need -- on an application I develop at work, we have to interface with another application. We always test with a lot of the same data (because we know what to expect from it in dev and test) so we always enter it over and over again. It never changes between tests. So I wrote a quick Greasemonkey script to populate the data when I go to the page. Took me an hour, but saves me tons of time. The HTML was horrid, but I included [JQuery in the script][] and that took care of most of the mess.

So, yet your funk on and explore (or re-explore) the wonderful world of Greasemonkey. I'd start at [UserScripts.org][]