public marks

PUBLIC MARKS from decembre with tags Google:Chrome & function

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).

decembre's TAGS related to tag Google:Chrome

chrome +   code +   convert +   convertir +   css +   dev +   development +   device +   extension +   firefox +   flickr +   FlickrSurf+ +   fonction +   freeware +   Freewares&Tutos +   function +   google +   GoogleDrive +   gratuit +   greasemonkey +   hack +   howto +   image +   implementation +   javascript +   Korben +   liste +   online +   photoshop +   plugin; addon +   privacy +   Prive +   Responsive +   screen +   script +   selection +   service +   tool +   tutorial +   tutoriel +   unsafeWindow +   web +