Browsing:

Tag: detect mobile device

Detecting Mobile Devices with JavaScript

Detection of mobile device concept of feature detection over browser detection, sometimes we need for knowing whether we are on mobile device or other Device. I thought out a simple way to detect the user was on a mobile device, then swap out the class name of an element. Why we need to check user is on mobile device : 1.Targeting Mobile Devices 2.Testing Mobile Device Functionality in Different Browsers Read more…