Why does Microsoft claim I am using Windows when I'm on OS X?
windows.microsoft.com
windows.microsoft.com
<!--[if lte IE 7]><body class="ie7 fixed-layout accent-theme-default hdr-is-present hdr-is-subnav-present"><![endif]-->
<!--[if IE 8]> <body class="ie8 fixed-layout accent-theme-default hdr-is-present hdr-is-subnav-present"><![endif]-->
<!--[if gt IE 8]><!--> <body class="accent-theme-default hdr-is-present hdr-is-subnav-present"><!--<![endif]--> curl -H "User-Agent: Windows NT 5.1" http://windows.microsoft.com/en-us/windows/which-operating-system
Results: NT 5.1 - Windows 8.1
WindowsNT 5.1 - Windows 8.1
Windows NT 5.1 - Windows 8.1
Windows NT - Windows 8.1
Windows NT5.1 - Windows XP
Windows NT 5.0 - Windows 8.1
Windows NT 5.1 - Windows XP
Windows NT 5.2 - Windows 8.1
Windows NT 6.0 - Windows Vista
Windows NT 6.1 - Windows 7
Windows NT 6.2 - Windows 8
Windows NT 6.3 - Windows 8.1
Windows NT 6.4 - Windows 8.1
Windows Linux NT 5.1 - Windows 8.1Had this been some years ago, and I would say the page was relying on some ActiveX control to check the OS version, and that on error, "Windows 8.1" would be shown. Fortunately, even Microsoft seems to have abandoned ActiveX.
My Linux setup is now very offended because a web page called it names.
Or they only need to customize content based on Windows versions and if you're using the latest or something non-MS, you probably want to see stuff about the latest Windows version.
Since this is a public page, with the title "Which Windows operating system am I running?", I think the right thing to show when the user is not running Windows is, well, "You are not running Windows". That would clearly inform users, who may not be aware, of the fact that their OS is not Windows (and that, most likely, that website will have nothing to help them with using their current OS). Another alternative would be "Can't determine Windows version". Anyway, they way things are now, that page is definitely wrong.
It's like a dude signing up for a Gynecologist appointment online and then questioning why they 'claim' you are a woman in the background questionnaire.
I mean, come the on... Is this really trending at #2?
One may consider putting resources toward developing code for a user-base that provides no return on the development investment is 'shitty coding'.
Probably neither, it could be shortsightedness, or simply a tool that their tech support (or other help forums) use for people who do not know what OS they are using.
There are A LOT of people I have met through the years who could not tell the OS they were using. They'd not even be able to tell any Win OS, Linux distros or Mac OS versions apart.
Sure whoever built the page could assume that someone may take their over simplifications as a sign of incompetence.
Realistically though, on one hand users/developers/entrepreneurs/wantrepreneurs/etc could take stock of the simplicity of the tool (for people who need to find out what Win OS they use) OR on the other we could bash 'em for not catering to the other markets.
Ignoring the latter in no way demonstrates incompetence.
But, in reality, yours not a better question. The Microsoft tool could, obviously and easily, detect non-Microsoft operating systems and report them as such.
(Yes, I know, it's the Linux kernel, just fun that it matches the number of that OS)
But that's a strange way of saying Linux lol
Its either hardcoded or refuses to acknowledge the existence of an operating system other than Windows ;)
All the versions of Windows I tested work right, but then anything else just returns Windows 8.1.
Deleted comment