GreaseMonkey How-To Guide!

Note: This guide is written for beginners and only thing you are expected to know is how to install firefox extension. So read this post first if you are new to firefox and its extensions.


# Introduction

Greasemonkey is a Firefox extension for altering the web pages you visit. Greasemonkey performs these alterations using specially written javascript files called userscripts.

As a user, you need not worry about writing userscripts. There are plenty of places on internet where you can find millions of userscripts which alters the website you want, in a way you like! A list of such websites is provided at the end of this guide.

Now as a beginner you need to know few basics things first like…

  • Installing GreaseMonkey Extension
  • Installing GreaseMonkey Userscripts
  • Managing GreaseMonkey Userscripts (e.g. Uninstalling)

# Installing GreaseMonkey Extension

Requirement: Greasemonkey is firefox extension, so it can run on every platform on which firefox runs (that includes Windows, Linux, Mac, etc). So all you need is firefox. There are Greasemonkey alternative for Internet Explorer and Opera but they performs very poorly and thus not recommended.

Firefox 3

Now if you are in firefox then click here to install Greasemonkey extension! (You can also visit GreaseMonkey Addon Page)

Like other firefox extensions clicking on above should prompt a install now dialog as shown below…

Greasemonkey firefox extension - Install dialog

Click on Install Now link. You need to restart you browser for installation to complete!

>> On successful installation (after restart), you should see Greasemonkey icon in lower-right corner of firefox browser

Greasemonkey successful installation image

You must see Greasemonkey icon as shown above before proceeding!

# Installing GreaseMonkey Userscripts

Next comes important part of installing userscripts. Without userscripts Greasemonkey can’t do anything!

There are many place on internet where you can find userscripts. Normally a link to userscript ends with user.js extension.

Clicking on any such link will open a dialog like below. Just click Install button. Thats it!

Greasemonkey Userscript Installation Dialog

You can also read this document describing this part in more detail as well as watch a slightly old video tutorial.

# Managing GreaseMonkey Userscripts (e.g. Uninstalling)

In three ways you can mange a userscript from Greasemonkey management console: disable, uninstall & reconfigure.

To bring Greasemonkey management console,

  • either right click on Greasemonkey icon in lower-right corner and select Manage User Scripts option from context menu.
  • or Go to firefox main menu and select Tools >> Greasemonkey >> Manage User Scripts option.

It will look like below…

greasemonkey manage user scripts

Now carefully look at above screenshot. From one place you can control everything related to userscripts on your system…

The left sidebar shows list of all scripts installed. Note some names are faint. That indicated a disabled script.

To perform certain operation on a userscript first select that userscript from left sidebar. Once selected its name get highlighted as shown in above screenshot.

You can perform following operations on a userscript…

  1. Disable - Disabling a userscript will make it inactive. It will remain on your PC but will not alter pages anymore. (Video Tutorial)
  2. Uninstall - It will remove userscript completely from system. (Video Tutorial)
  3. Reconfigure - It includes editing list of pages which a userscript supposed to alter. You will rarely need to use to this option. (Video Tutorial)

This covers most of the things from user perspective!

# Finally Some Greasemonkey Repositories…

Credits: Part of this article and all video tutorials are by Dive Into Greasemonkey!

Share and Enjoy:
  • Digg
  • del.icio.us
  • IndianPad
  • StumbleUpon
  • Technorati
  • YahooMyWeb
  • Furl
  • Reddit
  • Google
  • TwitThis
  • Facebook
  • Slashdot
  • SphereIt
  • blogmarks
  • MisterWong

If you like this post, you may subscribe to my RSS feed or email alerts to receive automatic updates in future! Thanks for reading... :-)

Comment RSS

2 Comments (including Pingbacks/Trackbacks) so far »

  1. #
    Richard Lionberger on June 26, 2008

    How do you change the text editor? Wordpad doesn’t work.

  2. #
    Rahul Bansal on June 27, 2008

    @Richard
    You can set any editor as default greasemonkey script editor.
    Here are the steps…

    1. Type about:config in address bar. Hit Enter. If it shows any “warranty” warning just go ahead.
    2. Next type greasemonkey in filter field.
    3. Right click on preference name: greasemonkey.editor value from list and select Modify option.
    4. Put exact path to text-editor in field that pops-up. Ex: C:\Windows\notepad.exe on windows for notepad

Leave a Comment

 Name (Required)
 E-mail (Required)
 Website

Comment:

  OR Use forum if posting unrelated to this topic.
[Note: All comments will be moderated as per our comments policy.]

Subscribe without commenting