Enable GreaseMonkey User Scripts in Google Chrome
Greasemonkey is a Mozilla Firefox add-on that allows users to install scripts that make on-the-fly changes to most HTML-based web pages. As Greasemonkey scripts are persistent, the changes made to the web pages are executed every time the page is opened, making them effectively permanent for the user running the script. Earlier versions of Google Chrome did not support Greasemonkey. But from the new version of Google Chrome 2.0, we can make it support Greasemonkey. Greasemonkey can be used for adding new functions to web pages like downloading videos form YouTube or removing the most visited sites from new tab in Google Chrome.
To Enable User Scripts follow the steps given below:
Step 1: Go to the location below in your computer:
Windows XP Users:
Documents and Settings\%userprofile%\Local Settings\Application Data\Google\Chrome\User Data\Default
Example: C:\Documents and Settings\DENNIS\Local Settings\Application Data\Google\Chrome\User Data\Default
Windows Vista and Windows 7 Users:
Users\%userprofile%\AppData\Local\Google\Chrome\User Data\Default
Example: C:\Users\DENNIS\AppData\Local\Google\Chrome\User Data\Default
Step 2: In the Default folder Create a new folder and name it as User Scripts.
Step 3: Now find the shortcuts of Google Chrome in the Start Menu, Taskbar or your Desktop. Right click on it and select properties.
Step 4: In the Properties Window go to Shortcut tab and add
--enable-user-scripts
by giving a space after chrome.exe” in the Target text box. Select OK. It is shown below.
Now you can simply save your Grease Monkey scripts in the User Scripts folder that you have created.
For a small test download the script given below in the User Scripts directory
To download Right click and Select Save Link As:
http://techrena.net/downloads/Grease%20Monkey/test.user.js
You should see a Hello World! dialogue when you open Google Chrome from the Start menu or Desktop shortcut. Don’t forget to delete the script after the test has been successfully completed.
Important:
1. GreaseMonkey Scripts will work on Google Chrome 2.0 or higher. To download the new version visit Download Google Chrome Latest Version
2. You should perform Step 3 for all the Google Chrome shortcuts you have, either in Desktop, Taskbar, or Start Menu.
3. User scrips will be enabled only if you open Google Chrome from a shortcut where you have preformed “Step 3″.
4. For removing a particular Greasemonkey addon, just delete the corresponding user.js file from the User Script folder.
UPDATE on Feb 4, 2010: Google Chrome 4 now officially supports GreaseMonkey User Scripts



April 11th, 2009 at 10:23 pm
I keep getting this URL in a tab with no apparent working greasemonkey:
http://xn--enable-user-scripts-475k/
suggestions? I have tryied with on and 2 dashes before enable-user-scripts-475k and from the DOS command line.
Thanks
April 11th, 2009 at 10:45 pm
I fixed my own problem by killing the chrome.exe process in the task manager and then restarting Google Chrome.
April 11th, 2009 at 10:54 pm
Thanks for the feedback. Thats the important thing I forgot to write..You should not be running Google Chrome during the process.
September 8th, 2009 at 5:45 am
The only problem with this that I see, is it gives an error about a GM command not being set up.
“ReferenceError: GM_setValue is not defined”
Other than that, it worked like a charm.
September 23rd, 2009 at 11:38 am
does anybody know, if i create the User Scripts folder under
Documents and Settings\%userprofile%\…
will the user scripts be available for all windows users?
or should i create the folders under
Documents and Settings\ALL USERS\…
?
October 6th, 2009 at 1:46 pm
Not all scripts at http://userscripts.org can work properly with this greasemonkey-enabled tip. Nevertheless, tks 4 sharing!
December 13th, 2009 at 3:40 pm
On Ubuntu the folder in which the User Scripts might go by default is:
~/.config/chromium/Default/
Just so you know… : )
January 21st, 2010 at 5:14 am
I’m desperate for subfolders (or something like this that is close to it) but can’t get this process to work. I have the latest version of Chrome. I (think I) followed the instructions above. The folder is there, the script is in it. I added the enable command in Properties. I restarted Chrome. But my folders still look the same. The only thing I see different on my end is that the screen shot above doesn’t show quotation marks in the target box of the properties window. If I try to take the quotes out of mine or move them to the end of “scripts,” I get a message saying that it’s not valid. Can anyone help?
February 22nd, 2010 at 7:35 pm
Where is the script for sub folders?
April 16th, 2010 at 1:49 am
perfect thank you
June 7th, 2010 at 8:02 pm
This extension for Google Chrome supports the Greasemonkey functions so you can use most of the scripts on userscripts.org
http://blankcanvasweb.com/pages/id_143/n_chrome_script_handler/
December 8th, 2010 at 2:28 am
great minus the fact that you switch from win xp to windows 7 instructions and it doesn’t work for XP
January 6th, 2012 at 3:55 pm
Just what I need. Love GreaseMonkey and now I can use it in chrome
Thanks!
January 30th, 2013 at 12:40 am
Black Flys Snowboards
Ski Air Nautique