The Window Navigator Object
The userAgent Property
The userAgent property returns the user-agent header sent by the browser to the server:
The string does not contain 'android' or 'mobile'