Forum Moderators: open

Message Too Old, No Replies

Discover OS - navigator object not working

Trying to get a browser's OS w/something other than navigator object

         

Capital_C

4:45 pm on May 14, 2008 (gmt 0)

10+ Year Member



I'm trying to find the Operating System of some mobile browsers. Internet Explorer is very informative, but Mobile Opera is not working well.

I'm getting Windows CE, but I also need the version number.


<!--
document.write('navigator.appVersion: '+ navigator.appVersion);
document.write('<br/>');
document.write('navigator.userAgent: '+ navigator.userAgent);
document.write('<br/>');
document.write('navigator.platform:'+ navigator.platform);
//-->

I get some details, but not the version number of Windows.


navigator.appVersion: 4.0 (compatible; MSIE 6.0; Windows CE; PPC; 480x800)
navigator.userAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 480x800) Opera 8.60 [en]
navigator.platform:Windows CE

Is there any other way to get the Operating System than with the Navigator Object? I have some drivers for mobile phones that I need to install. This gets me close, but doesn't let me know what version of Mobile Windows I am using.

thanks in advance

Receptional Andy

4:51 pm on May 14, 2008 (gmt 0)



As far as I'm aware the only real source for OS information is the user-agent, and so you rely on browser manufacturers supplying useful information there.

You might be able to infer further information from plugins installed perhaps, but I doubt you'd achieve very good reliability and I'm not sure it's even possible.

And welcome to webmasterworld, Capital_C :)

[edited by: Receptional_Andy at 4:51 pm (utc) on May 14, 2008]

Capital_C

4:53 pm on May 14, 2008 (gmt 0)

10+ Year Member



Andy,
Thanks for the welcome and thanks for confirming my fears :)