public marks

PUBLIC MARKS from decembre with tags Google:Chrome & dev

12 March 2010 06:15

unsafeWindow - Injecting JS functions into the page from a Greasemonkey script on Chrome - Stack Overflow

I have a Greasemonkey script that works just fine in Firefox and Opera. I struggle with getting it to work in Chrome, however. The problem is injecting a function into the page that can be invoked by code from the page. Here's what I'm doing so far: First, I get a helper reference to the unsafeWindow for Firefox. This allows me to have the same code for FF and Opera (and Chrome, I thought).

12 March 2010 05:30

Greasemonkey comes to Chrome - get your userscripts ready!

Chrome has a secret weapon. His name is Aaron Boodman, and he created Greasemonkey. He now works on the Chrome Extensions team at Google. Even though Greasemonkey on Chrome isn't yet as mature as the Firefox version -- 15-25% of scripts might not work on Chrome yet -- it will definitely get there with Boodman's help. If you need some scripts to get you started, you can scope out Download Squad's 10 Greasemonkey Scripts You Shouldn't Browse Without, or peruse the large selection at userscripts.org.