Hi,

can anybody tell me if there is a fixed attribute telling me the name of
the client on which the extension is executed e.g. thunderbird, mozilla
suite, seamonkey, ...

Basically, you want to use nsIXULAppInfo for that, as this interface provides the needed info. This hasn't been around for too long though, so if you want a backwards-compatible way, look into what ChatZilla has: http://lxr.mozilla.org/mozilla/source/extensions/irc/xul/content/static.js#284 and the following block tell how to use nsIXULAppInfo and fall back to other, less reliable, sources if that fails.

Robert Kaiser
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to