By this point, I would suspect that most Firefox readers who are reading this know about Greasemonkey. If not, go forth and read. I additionally suspect the same is true for Twitter. If not, you know what to do.

One thing that annoys me about Twitter is the avatar display on a user’s page. If I’m looking at (for instance) Geoff’s page, I see a lot of little tiny icons that I don’t recognize. I find myself hovering over each to see if they’re someone I know so I can click and friend them. I got sick of the hover delay, so I decided to fix it. I wrote a userscript that puts each users’ name next to their avatar image, and puts each on its own line.

I’d never worked with Greasemonkey, and only recently started playing with Javascript, so it was an experience. I was able to find a cool little XPath helper on the Greasemonkey wiki, which helped immensely. The code to actually do the manipulation is only about 10 lines long.

If you’re interested, you can grab the latest and greatest version of the script by clicking here. I should also plug my toys repository… it’s got all manner of fun junk laying about. Check it out with svn co http://svn.bleything.net/toys.

1 Response to “A brief excursion into Greasemonkey”

  1. coder Says:

    Thanks for the script!

Sorry, comments are closed for this article.