user-agent
Moderator: Moderator Team
user-agent
Hello!
I'am working on OS/Browser detection tool and i want to do a detection of ReactOS too in order to distinguish ROS from Windows 2000, cause I know this system will one day completely remove Bills Win from user PCs . The thing is, that Win2000 gives me the same user agent header as ReactOS and so I cannot recognize these two systems .
I'am working on OS/Browser detection tool and i want to do a detection of ReactOS too in order to distinguish ROS from Windows 2000, cause I know this system will one day completely remove Bills Win from user PCs . The thing is, that Win2000 gives me the same user agent header as ReactOS and so I cannot recognize these two systems .
UA
The detection can be done from both server-side and client-side (by javascript -> navigator.userAgent). I think that user-agent string is not made just by browser, because te same browser and the same version of that browser can make different UA strings on different operating systems. But I don't know how .
For Example Opera 8.0 on WinXP
For Example Opera 8.0 on WinXP
and on Win95bMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0
Mozilla/4.0 (compatible; MSIE 6.0; Windows 95; en) Opera 8.0
Re: UA
The browser client recieve the information from the operating system. Although, neither Opera nor Firefox, etc. does know about ReactOS and think it is Windows 2000. We have to report a windows version because several apps rely on this value (for legacy compatibility reasons).vincentvp wrote:The detection can be done from both server-side and client-side (by javascript -> navigator.userAgent). I think that user-agent string is not made just by browser, because te same browser and the same version of that browser can make different UA strings on different operating systems. But I don't know how .
Re: UA
Nevermind, but it's a pity. Maybe some other way how to do it - later. Thanks.The browser client recieve the information from the operating system. Although, neither Opera nor Firefox, etc. does know about ReactOS and think it is Windows 2000. We have to report a windows version because several apps rely on this value (for legacy compatibility reasons).
There already is such a mechanism (type "ver" in the ReactOS cmd prompt and it will tell you it is running on ReactOS), but the browser writers would need to incorporate that. Which is why my first reply was that the applications need to be changed, not the OS...Simon wrote:you could add a complete new registry key, where the reactos version is stored. if software programmers know about that, programms can read out the version.
That still wouldn't prevent the WGA ActiveX Control from detecting ReactOS. If this project is going to succeed, it needs to be completely identical to Windows.
A little idea; it may be that I didn't understand Harteex's suggestion, and am just restating it, but what if someone could design a "Virtual Genuine Windows" Environment, to run the ActiveX control in and allow WGA software to run. Hopefully this won't be needed, because ReactOS should be technically identical to Genuine Windows.
A little idea; it may be that I didn't understand Harteex's suggestion, and am just restating it, but what if someone could design a "Virtual Genuine Windows" Environment, to run the ActiveX control in and allow WGA software to run. Hopefully this won't be needed, because ReactOS should be technically identical to Genuine Windows.
That was kind of what I meant. An option to hide everything ReactOS-specific.Coviti wrote:That still wouldn't prevent the WGA ActiveX Control from detecting ReactOS. If this project is going to succeed, it needs to be completely identical to Windows.
A little idea; it may be that I didn't understand Harteex's suggestion, and am just restating it, but what if someone could design a "Virtual Genuine Windows" Environment, to run the ActiveX control in and allow WGA software to run. Hopefully this won't be needed, because ReactOS should be technically identical to Genuine Windows.
Who is online
Users browsing this forum: Google [Bot] and 46 guests