October 17, 2008
Google Chrome to Add Greasemonkey Support
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.
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)
28 comments:
Sounds like something to look forward into...
Reply DeleteI 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!
Reply Deletehow can I use this?
Reply DeleteI 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!
Reply DeleteOh sorry, I thought this was different from the general developer build (which I am already using). I'll try this now!
Reply Delete@dudtn:
Reply DeleteTo 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!
Reply DeleteWhile i would love to try this, i might wait till it ages a little bit so we have full support for it.
Reply DeleteWhile 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.
Reply DeleteI don't use so many user scripts. But, my daily browsing and productivity heavily depend on the myriad of extensions available in Firefox.
Reply DeleteUntil 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.
Reply Deleteall the greasy adblocking js dont work with it. which means to me it means nothing
Reply DeletePlease 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...
Reply DeleteI 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.
Reply DeleteIt'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??
Reply Deletethe cool thing about greasemonkey is that scripts can be cross-browser compatible
Reply Deletethey 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
Reply Deletehttp://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
Reply DeleteThis is a powerful tool
Reply DeleteThis was a critical feature that gor dropped in the rush to ship chrome.
Reply Deletethis, 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?
Reply DeleteWhere do I put the script?
Reply DeleteIn the folder c:\scripts.
awesome... we already have adblocking in Iron Chromium
Reply Deletehttp://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.
Reply Deleteanybody has the same situation?
Thanks
I Am Trying To Open Net in google chrome but it is not opning so plz help
Reply DeleteIt 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.
Reply DeleteWhere do I put the script in the Ubuntu? My installation path is:
Reply Delete/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
Reply Deletehttp://blankcanvasweb.com/pages/id_143/n_chrome_script_handler/
Note: Only a member of this blog may post a comment.
[フレーム]