Detect Mobile Devices Easily With MobileESP
MobileESP is an open source project for easily detecting users browsing the web pages with a mobile browser.
There are methods provided for detecting a specific device (iPhone, Android, WebOS, etc.) or a wider selection if it is a smartphone, tablet, game console, etc.
The project has support for most of the well-known devices and can even identify their capabilities.