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) :
can't check it

2. Using Regex (include tablets in this test) :
can't check it

3. Useragent  (a list of devices and checking if the useragent matches anything like so) :
can't check it

4. If has window.orientation  (a list of devices and checking if the useragent matches anything like so) :
can't check it

5. Facebook's slingshot  (Useful for the case of detecting a device where a mobile app could be installed) :
can't check it

6. Detect "touch screens devices"  (a list of devices and checking if the useragent matches anything like so) :
can't check it

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) :
can't check it