Greasemonkey Script In Chrome

<<< >>> Published on: February 9, 2010 <<< >>> Last Modified on: February 9, 2010 <<< >>>
Babitha

Author: Babitha

Try hard to get what you like or you will be forced to like what you get...

One of the Google experts recently shared about chrome which supports Greasemonkey. He exclaimed that once he happened to click on a Greasemonkey script in Chrome and was shocked because it worked. He wrote a note within Google saying

“Whoa. I just clicked on a Greasemonkey script in the latest dev version of Chrome (4.0.266.0 on Linux). Chrome offered to install the GM script, so I said okay. The script ran perfectly in Chrome with no changes at all! I don’t know how many Greasemonkey scripts will run in Chrome unchanged, but at least some will.”

 

It was his guess that scripts that don’t use specific Greasemonkey APIs should be fine.

 

A good post from November claims that ~60% of Greasemonkey scripts don’t use any sort of special API calls at all. The top API calls appear to be GM_getValue and GM_setValue (16.5% of Greasemonkey scripts), plus GM_xmlhttpRequest (15.5% of Greasemonkey scripts). It’s unclear which of these functions might be worth supporting. Some could have security implications (GM_xmlhttpRequest). Others like the get/setValue functions could be done by using other ways to store data.

 

So this is cool. There’s a good chance that your favorite Greasemonkey script might just work in Chrome. Personally, he recommends the dev channel version of Chrome. It gets all the cool features early, and he says it’s been very stable/fast for him.

Comments + Pingbacks + Trackbacks

NO COMMENT YET

Leave a response