Check mobile device type using JavaScript

Open this page in different devices and observe what device name the green selector point for each device.

Device Type

.mobile .tablet .desktop

Orientation

.portrait .landscape

Device OS

.ios .iphone .ipad .ipod .android .blackberry .windows .fxos .meego .television