[Greasemonkey] Re: Greasemonkey 0.4 - Last call (Aaron Boodman)
news_thomas at gmx.com
Wed Jul 13 13:13:49 EDT 2005
Aaron Boodman wrote:
>> Yeah, I looked it up. There are now 9 parameters, see
> Great, thanks for doing this. Do you by chance know what the "right"
> way to handle the different signatures for different versions thing? I
> don't think that XPCOM will let me just send the extra param to FF
> 1.1-... Should I try/catch and look for that error code? Or is there
> some better way?
Let me quote Jesse Ruderman here:
IIRC, the way I did it in the Thumbs extension was to test whether the
old interface exists (referencing it by its GUID). Then I use the old
interface (by GUID) if it exists or the newest interface (referencing
it by name) if it doesn't.
More information about the Greasemonkey