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

Safari is still not working #29

Open
aleksre opened this issue Feb 19, 2021 · 2 comments
Open

Safari is still not working #29

aleksre opened this issue Feb 19, 2021 · 2 comments

Comments

@aleksre
Copy link

aleksre commented Feb 19, 2021

Hi. Safari >13 support was supposedly added to v 1.2.0, but I can't get it to work.

Safari support requires a match for navigator.userAgent.match( /Safari\/(1[3456789])/ ), but this does not match the Safari user agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15

@CodyRWhite
Copy link

I am having the same issue. Looks like Apple changed the way the user agent lists Safari.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15

@JoshFerge
Copy link

I've created a PR #31 to update this. @grantila mind taking a look?

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