A recent build of Chromium, the open source project behind Google Chrome, added support for user scripts. For now, the support is limited: Chromium reads the scripts from the hard-coded directory c:\scripts and it ignores the @include metadata which restricts scripts to one or more web addresses. To enable Greasemonkey support, you need to use the flag: --enable-greasemonkey, for example by appending it to the target of a shortcut.
I tested the Greasemonkey support with the old script Linkifier, which turns text URLs and email addresses into links.
The new feature has been contributed by Aaron Boodman, the creator of the Greasemonkey extension for Firefox, who happens to work at Google.
In September, Google's Sundar Pichai said that Chrome will have an API for extensions. "We don't have that in the beta today, but we definitely plan an extension API. It is one of the things we will get to next." It seems that Google Chrome will provide native support for Greasemonkey scripts before releasing the API.
Tips:
* to get early access to developer-oriented Google Chrome builds, subscribe to the Dev Channel and read the release notes.
* the latest Chromium snapshots are available at the BuildBot site, but they don't support Google's auto-updater and they're less stable than the official releases. You only need to download the file chrome-win32.zip from the most recent folder.
Subscribe to:
Post Comments (Atom)
Sounds like something to look forward into...
ReplyDeleteI have heard lot's of good things about it, so I'm going to try it out right now and let you know what I really think about it!
ReplyDeletehow can I use this?
ReplyDeleteI don't know what it means
"you need to use the flag: --enable-greasemonkey, for example by appending it to the target of a shortcut."
Will someone please explain how exactly to use Chromium? I'm not really using Chrome for the stability, so if it crashes, I won't be too disappointed anyway. I just want to test the new features and be of even more help to Google while getting the new features first!
ReplyDeleteOh sorry, I thought this was different from the general developer build (which I am already using). I'll try this now!
ReplyDelete@dudtn:
ReplyDeleteTo install Chromium, you can go to this page, click on the most recent folder (it should be at the top) and download either mini_installer.exe (setup) or chrome-win32.zip (portable archive).
After running the setup or extracting the archive to a folder, make sure you have a shortcut to chrome.exe on the desktop. Right-click on the shortcut, select "Properties" and append to the "Target" field:
--enable-greasemonkey
It should look like this:
C:\Users\Dan\AppData\Local\Chromium\Application\chrome.exe --enable-greasemonkey
(standard path in Windows Vista)
It sounds interesting!
ReplyDeleteWhile i would love to try this, i might wait till it ages a little bit so we have full support for it.
ReplyDeleteWhile admittedly the URL choosing (#include) not being present doesn't really matter with my user scripts, still...
Although, with user scripts up and running even now, it can be used to add your own styles. (global, but you could create a little checkbox that will dynamically add and remove it)
You guys can't even get a simple Gmail gadget right, how the hell do you expect us to believe you can get an entire browser or (shudder to think) an entire OPERATING SYSTEM right? Should we expect the same lame responsiveness to user complaints that we, or at least I personally, have seen, with your other stuff? Keep a bloggin bro! Great job Google! Sheesh.
ReplyDeleteI don't use so many user scripts. But, my daily browsing and productivity heavily depend on the myriad of extensions available in Firefox.
ReplyDeleteUntil comparable extensions are available, Chrome will be my secondary to my Firefox (IE has been moved to third alternative).
Looking forward to the extensions on Chrome...
Oh, so I can inally get my google web history woring with Google's browser? Been doing this in Opera for ages anyway.
ReplyDeleteall the greasy adblocking js dont work with it. which means to me it means nothing
ReplyDeletePlease don't forget Chrome accept all bookmarklets ! That's not as convenient as extensions but works great and there are bookmarklets for all ! For example : Adblock bookmarklet...
ReplyDeleteI always use last Chromium releases (with a lot of bookmarklets) I work the whole day on the Web (I'm a blogger) and never got a crash until today ! Not bad for a beta.
If I can add now Greasemonkey scripts I think my Chrome will shine a lot.
Even if Firefox 3.1 is very good (with all my extensions enabled with fantastic "Nightly tester tools" Chrome compared to Firefox is like driving a Ferrari compared to driving a big BMW.
BMW are nice but if I can choose I prefer Ferrari !
Just discovered a simpler way to install Greasemonkey scripts in Chrome, or Chromium.
ReplyDeleteIt's called Greasemetal ans can be found here :
http://greasemetal.31tools.com/dist/GreasemetalInstaller.exe
Just install this tiny program, then copy all your js scripts to : \program files\greasemetal\userjs and bingo !
So... When is Linux version??
ReplyDeletethe cool thing about greasemonkey is that scripts can be cross-browser compatible
ReplyDeletethey are also easier for anyone to update and modify
@sbbg
check out http://www.codeweavers.com/services/ports/chromium/
so you can add Rockmaster's iGoogle Sidebar Collapse
ReplyDeletehttp://userscripts.org/scripts/show/30414#about-comments
to remove "ugly" iGoogle left sidebar ;)
Chrome is still crashing my touchpad... when final version comes out.. will test it again.. till then, firefox rulez
ReplyDeleteThis is a powerful tool
ReplyDeleteThis was a critical feature that gor dropped in the rush to ship chrome.
ReplyDeletethis, and the lack of support for the google toolbar made chrome unusable for many users
I have Chromium and appended the shortcut, but when I install a GreaseMonkey script it just downloads the javascript and nothing happens. Where do I put the script?
ReplyDeleteWhere do I put the script?
ReplyDeleteIn the folder c:\scripts.
awesome... we already have adblocking in Iron Chromium
ReplyDeletehttp://srware.net/en/software_srware_iron_news.php
now we'll have more control.. hopefully soon something like JS CAPS!
http://controledescripts.mozdev.org/help/CAPS.xhtml
I wonder why, after i enable greasemonkey in chrome, i am now able to load feed in google reader.
ReplyDeleteanybody has the same situation?
Thanks
I Am Trying To Open Net in google chrome but it is not opning so plz help
ReplyDeleteIt sounds very interesting This is a powerful tool I don't use so many user scripts. But, my daily browsing and productivity heavily depend on the myriad of extensions available in Firefox.
ReplyDeleteWhere do I put the script in the Ubuntu? My installation path is:
ReplyDelete/usr/lib/chromium-browser/
Thanks
This extension for Google Chrome supports the Greasemonkey functions so you can use most of the scripts on userscripts.org
ReplyDeletehttp://blankcanvasweb.com/pages/id_143/n_chrome_script_handler/