DamonOehlman / detect-browser

Unpack a browser type and version from the useragent string
MIT License
689 stars 102 forks source link

Detect Windows 11 #173

Open Rexogamer opened 2 years ago

Rexogamer commented 2 years ago

Currently, W11 is detected as 10. This is due to the fact that 11's kernel version is still 10.0. To detect whether a user is using 10 or 11, it seems as though the library may have to use client hints - however, Firefox doesn't currently support these and it's unclear to me if they will be added. There may be alternative ways to get this info - not sure of any specific methods, but still.

rj-david commented 1 year ago

Any plans on supporting this?