Forum Moderators: open

Message Too Old, No Replies

Is appCodeName + appVersion = userAgent?

         

fischermx

5:28 am on Sep 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I'm analyzing what this variables throw:
navigator.appName;
navigator.appVersion;
navigator.appMinorVersion;
navigator.appCodeName;
navigator.userAgent;

And it seems that the userAgent is the concatenation of appCodename plus the appVersion variable.
Can you confirm or deny this?

penders

10:38 am on Sep 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This doesn't seem to be the case with Firefox...

navigator.userAgent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
navigator.appCodeName = Mozilla
navigator.appVersion = 5.0 (Windows; en-US)

... and I'm sure there are countless others. Denied I'm afraid!