detect-device.js
JavaScript parser of User Agent strings to detect unique interactive devices
Example
var device = ; /* { type: 'Console', userAgent: 'Xbox One'} */ console; // Consoleconsole; // Xbox One
Supported devices:
- Android
- Apple iPad
- Apple iPhone
- Apple iPod
- Apple TV
- Amazon Kindle Fire
- BlackBerry
- Google Nexus 5, 6, 7 & 10
- Google TV
- Internet Explorer
- Opera Mini
- Nokia
- Nintendo 3DS
- Nintendo Switch
- Nintendo WiiU
- Playstation 3
- Playstation 4
- Samsung Galaxy S5
- Smart TV
- Windows Phone
- Xbox 360
- Xbox One