[Project_owners] Re: Getting the gecok version

Neil neil at parkwaycc.co.uk
Fri Sep 22 11:47:28 EDT 2006


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.


More information about the Project_owners mailing list