-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft Edge User Agent String #61
Comments
Having same issue. Any updates on this issue? |
I maintain a fork of this project which has this fixed if you're interested. I can't really guarantee it'll meet all of your needs, but hopefully it does. I also have begun packaging it to GitHub Packages, so using it in your project is about as easy as this upstream fork. |
Thanks so much, this is the one we did decide to go with and it's going through testing now. |
There's a couple of variants for the latest Edge listed here: https://www.whatismybrowser.com/guides/the-latest-user-agent/edge For example Windows has "Edg" but on Android it's "EdgA" along with iOS having "EdgiOS". Could a potential fix be it starts with "Edg"? This way it handles "Edg", "Edge", "EdgA" and "EdgiOS"? |
Related to #16
According to the official Microsoft documentation.
The User-Agent of Microsoft Edge is:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43
Microsoft selected the
Edg
token to avoid compatibility issues that may be caused by using the stringEdge
.In this case, it will parse Microsoft Edge as
Chrome
.The text was updated successfully, but these errors were encountered: