Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Changed mobile user agent check to touchscreen feature check. #742

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peiche
Copy link

@peiche peiche commented Jun 25, 2015

Feature detection is more reliable than user agent sniffing.

@bfintal
Copy link

bfintal commented Jun 30, 2015

Another alternative would be to check for 'Mobi' in the User Agent: https://developer.mozilla.org/en-US/docs/Browser_detection_using_the_user_agent

@peiche
Copy link
Author

peiche commented Jul 1, 2015

@bfintal How is that any better than the already existing user agent check?

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

Successfully merging this pull request may close these issues.

2 participants