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 vs Safari on iOS #21

Open
atomicus opened this issue Jul 26, 2013 · 0 comments
Open

Chrome vs Safari on iOS #21

atomicus opened this issue Jul 26, 2013 · 0 comments

Comments

@atomicus
Copy link

Hi,
first of all - congrats, great code, saved me a lot of time.

Second thing:
On iOS (check only on iphones) you script provides such information:
For Safari:
safari safariX ........
For chrome
safari ......

Where X is number of iOS version (4,5,6...)

So there's a way to indetify if user is browsing through Chrome, or Safari on iOS (and they differ a little - Safari has this nasty bottom bar that hides page elements and it's often required to take this into account and make page a little smaller so it displays content above this bottom bar)

It's currently easy to do it with css, just by adding class for 'safariX' but this requires to write a lot of code (and add new lines for each new iOS version).

So it would be nice to add different flag, or use safari|chrome flags to directly say what is exact browser being used.

I could for your code in spare time if you're short on time, but it seems you will add this faster:) (as I would love to have 32h per day...)

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

1 participant