dimanche 1 août 2021

How to detect windows 11 from user agent?

How I can figure out if someone opens my website in windows 11?

I test user agent and when someone opens my website with windows 11 I will get this

"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0"

So technically this says it's windows 10, not 11.

Is there any way to detect this?




Aucun commentaire:

Enregistrer un commentaire