Detecting iPhones/iPads/Androids and their OS Versions in JavaScript via User Agent

This will just be a really quick ¬†JavaScript code snippet on how to extract valuable device information from the User Agent devices navigate to your website with. The User Agent contains lots of information, but what matters is the OS (iOS, Android), the OS Version (x.y[.z]), and then the device type. On iOS we have …

Continue reading