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

Chrome for android #29

Open
toucan4267 opened this issue Mar 2, 2014 · 2 comments
Open

Chrome for android #29

toucan4267 opened this issue Mar 2, 2014 · 2 comments

Comments

@toucan4267
Copy link

I'm on a nexus 7 and using chrome for android. .android does not work while .chrome, .linux, and .chrome.linux work. I can't use these however or else chrome on ubuntu linux et all will be affected. Anyway to specifically target chrome for android? Here's the code: mozilla/5.0 (linux; android 4.4.2; nexus 7 build/kot49h) applewebkit/537.36 (khtml, like gecko) chrome/33.0.1750.136 safari/537.36

@isarmstrong
Copy link

The problem is the script sees Android & Chrome as separate entities. I suspect if you move the Chrome entry up to around line 46, after Firefox, it'll supersede Android. I haven't tested it yet though.

@isarmstrong
Copy link

Seems to work. Using Nexus 7 emulation I get:

class="webkit chrome chrome29 mobile linux js orientation_landscape maxw_768"

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

2 participants