Greasemonkey – What is it? How does it work? How to use it?


When you say Mozilla Firefox : Greasemoney is what ,some geeks have in their mind.So today i am going to tell you about Greasemonkey,how does it work and how to use it.

Greasemonkey Tutorial -Dhavalthakur.com

What is greasemonkey?

Greasemonkey is an extension to the Mozilla Firefox (or SeaMonkey) browser. Basically, this extension allows you to install scripts that will act on certain pages, adding functionality to said pages. These scripts are effectively Javascript, with some added features native to Greasemonkey.

Awesome! So how do I get started?

1) Download, install and use Mozilla Firefox, preferably the newest version.
2) Once that is installed, use Firefox to navigate here, and install the newest version of Greasemonkey.
3) Restart firefox.
4) If when you reopen firefox, you see a smiling monkey (like this: http://img.photobucket.com/albums/v281/Apron/smile.pngin the bottom right corner, then greasemonkey should be working!

There we go! Greasemonkey should now be installed and working in your firefox browser.

This is boring, nothing seems to be happening…

This is because Greasemonkey itself does nothing – you need scripts to be able to customise your experience.

I’ll tell you where to find said scripts in a second, but once you do:

1) Click on the given link
2) A screen will show up, telling you the meta-data (think of it as basically the description) of the script you’re going to download.
3) Click on Install, after the counter counts down.

Now, when installing a greasemonkey script:

MAKE SURE YOU TRUST THE WRITER

A greasemonkey script can do anything that you can do to your KoL (and other) accounts. If you’re not comfortable with this, either make sure the script contains nothing at all malicious [nearly impossible, so you still neeed trust] (can still have problems with accidental things) or don’t use the scripts.

If you ever have any problems with a script, you can disable all greasemonkey scripts from activiating when you load a page by clicking on the monkey icon, and therefore making him sad (like this http://img.photobucket.com/albums/v281/Apron/frown.png) Also check out lower down “Uninstalling a Greasemonkey Script”.

Where can I find these scripts?

Right! Now that you’re sure you want to install these scripts, and know how to, lets go look for some:

KoLWiki – List of Greasemonkey scripts: This has a listing of just about every greasemonkey script made for KoL. This is a VERY GOOD list.

OneTonTomato’s site: Yes, this is a greasemonkey scripter’s (a VERY good and VERY prolific one, at that) website. Not just his scripts are listed here, but a list of script writers, and where they post their new scripts is on this page, which is good if you want more scripts made by a specific person.

Gameplay-Discussion Forum: The forums usually contain a forum thread for a given script – when they first get released, this will likely be the first place you can find them.

Some other greasemonkey scripts are “private”, in that they are either only used by their creator, or were sold to people for a given price.

More Information on Greasemonkey

You can see all the greasemonkey scripts that you currently have installed by right clicking on the smiling/sad monkey in the bottom right corner, and clicking “Manage User Scripts”. This can also be done by going Tools – GreaseMonkey – Manage User Scripts.

This should show something that looks like this, assuming you have greasemonkey scripts installed.

Editing Scripts:

1) Some manual updates can be done by editing the script yourself.
2) Load up the “Manage User Script” page for Greasemonkey (right click on the monkey, then click Manage User Scripts. Or Tools – Greasemonkey – Manage User Scripts)
3) Find the script you wish to add the new page to include on the left, and select it.
4) Click on the edit button – if it asked you for a program to use to edit the file, find your text editing program – if you can’t find any / don’t know what this means, on a windows system, go to your windows or system folder, and find notepad.exe, and select this.
5) Follow the instructions within this page for how to edit the file.
6) Save that file in that program, and the script will be edited.

Nokia Secret Codes are revealed! Some of them are posted on Dt.Com too! Why not check them out?

To remove/disable GM scripts:

Disabling all GM scripts:
1) Click on the monkey in the bottom righthand corner. The monkey will look sad. This means that Greasemonkey is turned off.

Disabling Individual GM scripts:
1) Load up the “Manage User Script” page for Greasmonkey (right click on the monkey, then click Manage User Scripts. Or Tools – Greasemonkey – Manage User Scripts)
2) Find <whateverthenameofthescriptis>
3) Click the checkbox in the bottom that says “Enabled” to off.

Uninstalling a Greasemonkey Script:
1) Load up the “Manage User Script” page for Greasmonkey (right click on the monkey, then click Manage User Scripts. Or Tools – Greasemonkey – Manage User Scripts)
2) Find <whateverthenameofthescriptis>
3) Click uninstall
4) Click OK. (This is actually important. If you click cancel, it will not uninstall)

Troubleshooting:

This is for fixing some common problems that happen with greasemonkey.

Why can’t I edit a script? or How do I change my script editing program?

Normally when you go to edit a file, the first time it should prompt you as to what executable file to use to edit the files. If this does not happen properly, or it simply does not load correctly, try this out to fix the problem.

1) Type about:config into your address bar
2) Find greasemonkey.editor on that page.
3) Right click it, then click modify.
4) Change the value to what the location of your text editor is: my value is “C:\Program Files\Crimson Editor\cedt.exe” for Crimson Editor, my current text editor of choice.

If you cannot find the greasemonkey.editor value, then do this:

1) Type about:config into your address bar
2) Right click on that page, then click new, then click string.
3) The preference name should be greasemonkey.editor
4) The string value should be the location of the editor.

Please post any questions that you have, or corrections

 

Advertisements

2 thoughts on “Greasemonkey – What is it? How does it work? How to use it?”

Say Your Mind Buddy!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s