Jump to content

Recommended Posts

Posted

Hi all,

 

How does a website identify a client OS version? For example, when I go to download Google Chrome from Google's website, it automatically knows which version of Mac OS X I am running. How does it do this? Where on the client OS does this information come from?

 

Thanks in advance!

Posted
As a developer you can usually trust the agent string...but some browsers allow users to change this...why you would (apart from testing your own sites) I don't know :)
  • Thanks 1
Posted
As a developer you can usually trust the agent string...but some browsers allow users to change this...why you would (apart from testing your own sites) I don't know :)

 

Most often? Because the developer a) doesn't realise I may want to use Windows to download the OSX / Linux version and b) doesn't provide a "pick a version for another OS" link. Biggest culprit who used to do this? Apple for the quicktime downloads (since fixed). Still doing this? Google for chrome downloads.

Posted
Most often? Because the developer a) doesn't realise I may want to use Windows to download the OSX / Linux version and b) doesn't provide a "pick a version for another OS" link. Biggest culprit who used to do this? Apple for the quicktime downloads (since fixed). Still doing this? Google for chrome downloads.

 

Thanks, this is very helpful! Now, without intentionally/manually changing the user agent string, why would a site think I'm running a different OS?

Posted
Most often? Because the developer a) doesn't realise I may want to use Windows to download the OSX / Linux version and b) doesn't provide a "pick a version for another OS" link. Biggest culprit who used to do this? Apple for the quicktime downloads (since fixed). Still doing this? Google for chrome downloads.

 

Good point...I hate websites that try to be clever and 'guess' what I want to download...

  • 3 weeks later...
Posted

Just returning to this issue now...

 

Where does the OS info for the user agent string come from (on a Mac, if that makes a difference)? The machines exhibiting this issue show the correct OS version in System Profiler.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...