S
S
Sasha Brahms2015-11-15 11:52:14
PHP
Sasha Brahms, 2015-11-15 11:52:14

Detect browser and device?

Please tell me the correct definition of the device (it is desirable to separate by OS - IOS, Android, etc.)
and the browser - even the definitions of YaBrowser
Preferably php, but as far as I know it is impossible to adequately determine at the moment, getbrowser - determines incorrectly ..
You can JS library, Tell me please

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korovin, 2015-11-15
@vakorovin

We use mobiledetect.net for our projects , which I advise you to do as well.

N
Nash, 2015-11-15
@mrTyler

Include Modernizr.js and then Detectizr.js, this will give you full control over users and you will know exactly
1. what technologies are available to you
2. what browser the user is using
3. what device is connected from
4. what version of the browser and engine is
used . BUT - it weighs a lot, you have to use gzip and cache js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question