Wednesday 19 September 2012

" Install Greasemonkey and try some scripts in your browser"

Today i was browsing and got to know that you can use scripts to give extra functionality to some particular web page or particular websites and ride and drive them according to you. I mean the code or script you write that drive the functionality of that page.   

 for example

1. Suppose in you tube you want a download link right below the video so that you can download it in mp4 video format or some other formats.
 You don't have to go to some other websites to download youtube videos, Or you don't have to download and install youtube video downloader.
The particular script will enable a download link below your video and just by clicking it you can download video.
Greasemonkey will execute this script for you. (* I am explaining about greasemonkey below). 

2. Signout from your gmail account automatically within some prescribed time limit (decided by you).

3. In facebook if you go on chat id's you can see there big pictures and images on the left side of the page.
and many more.

  So there are two things you need to make the things work-
1. you want script (code) that drives functionality. Extra Functionality in the form of code. 

and the

2. second thing is execution of the script in your web browser that is done by installing greasemonkey addon.

We will follow the above stated procedure but second  option first, first install greasemonkey addon required to execute script in web browser and then after install script or manually add source code of script into the web browser.    

Note I am illustrating it on FireFox web browser only, if you use another browser then there are some other extensions like greasemonkey in firefox same like tempermonkey in googlechrome.

So start,
For adding these functionality for particular pages and websites in your web browser, first you have to install Greasemonkey addon it is simple  : I am talking about greasemonkey an addon on firefox.

Greasemonkey add on is required because it executes your script in web browser fine. 

STEP 1:
Just go to the site Greasemonkey  click Add to firefox button
and you will get greasemonkey addon installed on your computer.  

The top right most sign of monkey near your link bar signifies that greasemonkey is installed on your computer. There is drop down button just near that monkey sign, where there are options to enable and disable greasemonkey and etc. 

STEP 2 :
Now you require some cool scripts to run on.
Just search some scripts on this link
and install any script you like in your browser  it is simple just click install button.

Second way to install script after installing greasemonkey.
This is from source code also you can install these scripts.  just save source code by         
                 filename.user.js extension.
                    keep attention on .user.js extension

open this file in your web browser by going on file open and it will prompt to install your script on the web browser.
as greasemonkey is installed on your computer so just install the script and you are done the new functionality has been added to the browser.
You can manage the script remove by going in tools->greasemonkey and then manage scripts
from there you can remove disable and set preferences to the scripts that you installed.

If you have problem in setting up scripts then can comment. I will try to sort out the issue

Cheers and Give it a try, it's cool and try to make your own scripts too..

No comments:

Post a Comment