useragent
useragent copied to clipboard
HTTP User Agent parser
travis-ci.org is dead. To ensure compatibility with the latest versions of Ruby, I propose using GitHub actions for CI. The workflow is [passing on my fork](https://github.com/orien/useragent/actions/runs/7957361039), and will be added...
Hello Devs, Detecting the device details of your users is now easier than ever with Detective API. Our API is powered by AI and makes detecting devices easy and effortless....
Related to #16 According to the official Microsoft [documentation](https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-string). The User-Agent of Microsoft Edge is: `User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43` Microsoft...
I don't write Ruby a lot so I'm sure there's a better way to do this but I essentially am looking for a good way to see if a browser...
Also, add a changelog to fix #54
Please, could you provide a changelog file or a changelog in github release.
example ```ruby eg_string = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5" UserAgent.parse(eg_string).os => "OS X 10.6.8" UserAgent.parse(eg_string.downcase).os => "intel mac os x 10_6_8" ```
``` [2] pry(main)> ua = UserAgent.parse('Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.691.400 QQBrowser/9.0.2524.400') [3] pry(main)> ua.os => "Windows 7" [4] pry(main)> ua.platform...
Hi, I'm looking for the best way to register a custom browser to parse against. Say for instance I'd like to parse a native App's user agent and get similar...