Monday, December 17, 2007

Installing GreaseMonkey Scripts

GreaseMonkey script can only be run on Firefox browsers. This is what you need to do to get your script running in your firefox browser:

1. Install Firefox (if you don't have it yet)
http://www.mozilla.com/products/download.html?product=firefox-2.0.0.11&os=win&lang=en-US

2. Install GreaseMonkey firefox Add-on (if you don't have it yet)
https://addons.mozilla.org/en-US/firefox/addon/748

2.1 After installation, restart Firefox. You should see a monkey icon at the bottom right corner of your firefox browser if you have successfully installed GreaseMonkey. Enable GreaseMonkey by clicking on the icon until you see a smiling monkey. If it is frowning, it is disabled.


3. Install Script

3.1 With GreaseMonkey enabled, open your Firefox browser and enter the location of the script in the Firefox address bar.
For example, if you saved the script at location "C:\fluff.user.js", type "file:///c:/fluff.user.js" in the Firefox browser to see the contents of the script. Note the direction of the slashes.

3.2 If there is a GreaseMonkey Installation screen popup asking you to install the script, select "Install"
Otherwise, in your Firefox browser, under Tools->GreaseMonkey, there will be a new menu item to "Install User Script".
Accept the default configuration and install.

===============================================
NOTE:
1. To temporarily disable the script, turn off GreaseMonkey by clicking on the monkey icon at the bottom right corner of your Firefox browser.
2. To uninstall, go to "Tools"->"Manage User Scripts", select the script, and click "Uninstall".

No comments: