Answer the question
In order to leave comments, you need to log in
How to identify a user with a mobile device?
Good day community. Based on your skills and experience, what do you think is the most booletproof way to determine on the client today that the user has accessed the site from a mobile device.
Answer the question
In order to leave comments, you need to log in
const isMobile = /Mobile|webOS|BlackBerry|IEMobile|MeeGo|mini|Fennec|Windows Phone|Android|iP(ad|od|hone)/i.test(navigator.userAgent);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question