A Scala Play application and module that returns browser capabilities given a user agent string using data from the Browser Capabilities Project.
Gary Keith and Browser Capabilities Project maintain a comprehensive list of browser user agent strings and their capabilities. The data file was designed for Microsoft IIS 5, but was also adopted by PHP and Drupal.