Skip to content
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

Edge is erroneously being detected as a Chrome #89

Closed
angelscabrerag opened this issue Feb 14, 2020 · 3 comments
Closed

Edge is erroneously being detected as a Chrome #89

angelscabrerag opened this issue Feb 14, 2020 · 3 comments

Comments

@angelscabrerag
Copy link

Hi, Edge is erroneously being detected as a Chrome (Browser::BROWSER_EDGE) .

Edge on Mac reports: Chrome
Edge on Windows reports: Chrome
Edge on Linux reports: Chrome

Edge v.79.0.309.71

Any help would be appreciated to show correct browser name.

@vidurb
Copy link

vidurb commented Mar 2, 2020

The new version of Edge (v79) is based on Chromium, and mimics Chrome's user-agent under certain conditions. That might be a possible explanation.

@GramThanos
Copy link
Contributor

Additional info from my agents:

Microsoft Edge BETA (https://www.microsoftedgeinsider.com/):

  • About:
    • Version 81.0.416.41 (Official Build) beta (64 bit)
  • User-Agent:
    • Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.83 Safari/537.36 Edg/81.0.416.41

Google Chrome:

  • About:
    • Version 80.0.3987.162 (Official Build) (64-bit)
  • User-Agent:
    • Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36

@cbschuld
Copy link
Owner

cbschuld commented Apr 6, 2020

@GramThanos thank you for the PR

@vidurb & @angelscabrerag - thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants