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

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

Open
peiche wants to merge 1 commit intoPrinzhorn:masterfrom
peiche:master
Open

Changed mobile user agent check to touchscreen feature check.#742
peiche wants to merge 1 commit intoPrinzhorn:masterfrom
peiche:master

Conversation

@peiche
Copy link
Copy Markdown

@peiche peiche commented Jun 25, 2015

Feature detection is more reliable than user agent sniffing.

@bfintal
Copy link
Copy Markdown

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
Copy Markdown
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