Browser Detection WordPress Plugin
There are two main routes for detecting browser identity: client-side or server-side. You can do feature-detection for client-side detection, or use PHP and the user-agent server-variable for server-side detection. That said, if you’re using WordPress, this plugin makes server-side detection SO easy.