If "true" or "1" _____-> it's a touch mobile device
If "false" __________-> it's is a desktop
1. Using Regex (depending on whether or not the user is browsing with a mobile) :
false
2. Using Regex (include tablets in this test) :
false
3. Useragent (a list of devices and checking if the useragent matches anything like so) :
false
4. If has window.orientation (a list of devices and checking if the useragent matches anything like so) :
false
5. Facebook's slingshot (Useful for the case of detecting a device where a mobile app could be installed) :
false
6. Detect "touch screens devices" (a list of devices and checking if the useragent matches anything like so) :
false
7. MDN's article on Browser detection ( if one must use the user agent as a means to detect if the device is mobile, they suggest) :
false