[Project_owners] Re: Getting the gecok version

Philip Chee philip.chee at gmail.com
Fri Sep 22 21:12:03 EDT 2006

On Fri, 22 Sep 2006 10:47:28 +0100, Neil wrote:
> Philip Chee wrote:

>>In toolkit apps you can do this:

>>var appInfo = Components.classes["@mozilla.org/xre/app-info;1"]
>>              .getService(Components.interfaces.nsIXULAppInfo);
>>var platformVer = appInfo.platformVersion;
>>var platformBuildID = appInfo.platformBuildID;

> SeaMonkey also has a XULAppInfo implementation.

You're right. I was thinking about the EM interfaces.

Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Love comes for you, and you follow.
* TagZilla 0.059

More information about the Project_owners mailing list