On Tue, Mar 15, 2011 at 10:01:46AM -0500, Benjamin Slade wrote:
> A sort of idle inquiry:
> 
> Having upgraded to the newer xulrunner, I found that -- unsurprisingly -- the
> Googlesharing Firefox extension no longer works. This is unsurprising since 
> the
> extension doesn't work with Firefox 4.0.
> 
> I imagine marlinspike will update the extension to work with Firefox 4 at some
> point, but I was wondering if there might be any easy hack to get it to work
> with conkeror using the newer xulrunner: the code for the extension is
> available here: 
> https://github.com/DisruptiveStudies/GoogleSharing/tree/master/
> firefox
> 

The main difference between XULRunner2/FF4 and earlier versions that
affects extensions is a new system for component loading.  Within each js
component, instead of using NSGetModule, you now use NSGetFactory.  Also,
each component has to be explicitly registered with a stanza in
chrome.manifest.  Components are no longer auto-loaded.  Details here:

https://developer.mozilla.org/en/XPCOM/XPCOM_changes_in_Gecko_2.0

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to