Answer the question
In order to leave comments, you need to log in
How to distinguish mobile safari from chrome by user agent?
Chrome mobile browser on iOS gives exactly the same string in user agent as mobile safari, up to the last character
"Mozilla/5.0 (iPad; CPU OS 8_1_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko ) Version/8.0 Mobile/12B440 Safari/600.1.4".
Yandex browser, thank God, adds information about itself, although the rest of the user agent is the same. It is necessary to determine exactly the mobile safari, I don’t understand how else to distinguish them, I need help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question