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

Wrong detection: Microsoft Edge instead of Safari #179

Open
MonkeyMaster opened this issue Oct 2, 2020 · 2 comments
Open

Wrong detection: Microsoft Edge instead of Safari #179

MonkeyMaster opened this issue Oct 2, 2020 · 2 comments

Comments

@MonkeyMaster
Copy link

Mozilla/5.0 (iPad; CPU OS 14_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 EdgiOS/45.8.14 Mobile/15E148 Safari/605.1.15

'Edge|Edg' matches "EdgiOS" whatever it is)

@adriaanzon
Copy link

Same with Chrome. isSafari() returns true with this user agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

@kevinkimball
Copy link

This is still the case, for example, isSafari() returns true for Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1 Edg/128.0.0.0 (UA string from Edge in 2024)

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

3 participants