Tyrantmizar’s blog is mostly about Firefox extensions, with some other stuff thrown in for flavor.

Greasemonkey Extension Review

posted by Tyrantmizar at 7:44 pm EST on December 14, 2005

Greasemonkey is one of the top Mozilla Firefox extensions for the web. It is the ultimate in customization.

Greasemonkey allows users to customize websites (yes, other people’s websites) to your likings. Don’t like the ads? Get rid of them. Hate the colors? Change them. Redirects wasting your time? Remove them. Simply install a userscript and Greasemonkey gets to work.

However, it isn’t quite that simple. If you’re not a skill javascript programmer (which I’m not), you and I have to rely on other people’s userscripts. Luckily, there is a large directory of user scripts over at, guess what, http://www.userscripts.org/.

Let’s take one example

If you use Gmail (Google Mail for UK users) and you don’t have a mail client on your computer (such as Thunderbird), then you probably get annoyed every time you see a mailto: link that opens up crappy Microsoft Outlook/doesn’t do anything.

However, there is a userscript that will automatically rewrite mailto: links into Gmail links.

First, go to Mailto Compose In GMail’s Userscript.org site.

Mailto Compose In GMail Userscript site
Then you need to click in the box at the upper right, and click “Install this Script”.

The link should bring you to the direct code. Greasemonkey 0.6.4 is kind enough to pop up with a nice bar at the top instructing to simply click “Install”.

Then you go to any site with a mailto: link. One of my favorite sites is Lifehacker, so we’ll go there.

Lifehacker's Contact informationIn the sidebar there should be this contact information.

Where before, “Email” under Gina Trapani’s name led you to “mailto:tips@lifehacker.com”, now with the magic of Greasemonkey, the URL is “https://mail.google.com/mail?view=cm&tf=0&to=tips@lifehacker.com” Now your browser is truly set for the web!

Analysis

This is but one example of what Greasemonkey can do. It is a very powerful extension, and can give the right users almost complete control over what they view in their browser.

Greasemonkey is one of the ultimate extensions when it comes to customizability power. Seeing as I’m a control freak when it comes to web surfing, this is an excellent extension!

Download Greasemonkey
Greasemonkey Website
Dive Into Greasemonkey, a guide for beginning Greasemonkey programmers.
Download Firefox 1.5

Perfected the User Script

posted by Tyrantmizar at 8:35 pm EST on October 19, 2005

…I think.

I’ve checked it several times. It definitely works for categories (mostly), definitely works for Technorati, and definitly works for Greasemonkey 0.5.3 So it is time to name it 1.0 and let it go.

This userscript allows Blogger users to create “categories” for their blog using the Blogger search engine. It also tags the post in a way that Technorati will recognize the tag.

Here is my final version. You need to install Firefox and Greasemonkey to use it. Follow the directions at the Greasemonkey site for installing the script. I will put it up on UserScripts.org as soon as I possibly can.

When using this, make sure that you edit the user script and replace *AddBlogURLHere!!!!!* with the URL of your blog.

Greasemonkey Script for Categories

posted by Tyrantmizar at 3:46 pm EST on October 18, 2005

In my previous post I discussed how I was going to create a decent, make-shift, category system for blogger. And I did it. I took this guy’s script and adjusted it to Blogger Search. The only problem is I didn’t debug it before I uploaded it to Userscripts.org (oops! heehee) and it doesn’t work. Don’t use that one.

Use this one! (v. 0.4 Greasemonkey Script here) (v 0.5) (Install the script here) Install Greasemonkey here.

It isn’t perfect: Blogger search might pick up other instances of those words. But it is, indeed, a decent make-shift substitute for full on categories. It allows tags for Technorati too! (I think)

I will be updating the one at UserScripts.org as soon as it will let me.