The User-Agent request header hasn't been a good way to detect a user's OS in quite some time, and now Windows 11 will detect as Windows 10. Instead, if you need to detect a user's OS, you can use new User-Agent Client Hints request headers.
https://docs.microsoft.com/en-us/micros ... tect-win11
The User-Agent request header and Windows 11
- Albert Wiersch
- Site Admin
- Posts: 3821
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
The User-Agent request header and Windows 11
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial