user_agent
user_agent copied to clipboard
This project has been moved, check the README.md file!
It will be nice to have built-in methods for getting OS version and name, rather then split it manually. UPD. Maybe something like this will be enough ``` go //...
It would be great get info about device, like this ``` go type Device struct { Family string Brand string Model string } ``` https://github.com/ua-parser/uap-go
Mozilla/4.0 (Compatible; MSIE 8.0; Windows NT 5.2; Trident/6.0) is being parsed as IE8. Source: https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx
Example test case: ```go ... { title: "Pingdom", ua: "Pingdom.com_bot_version_1.4_(http://www.pingdom.com)/", expected: "Pingdom:1.4 Browser:Pingdom-1.4 Bot:true Mobile:false", }, ``` ``` Test Pingdom got: "Browser:Pingdom.com_bot_version_1.4_(http: Bot:true Mobile:false" expected "Pingdom:1.4 Browser:Pingdom-1.4 Bot:true Mobile:false" ```...
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....
Following is the agent that I'm using ``` Mozilla/5.0 (Windows NT 6.1; lzh-TW; rv:1.9.0.20) Gecko/2021-03-10 02:14:35 Firefox/3.6.20 ``` When I do this, I get the name of the Browser as...
Would you be open to adding appropriate functionality to detect various commonly (still used today) Text-only browsers such as (to name a few): - [elinks](http://elinks.or.cz/) - [links](http://links.twibright.com/) - [lynx](https://lynx.invisible-island.net/) -...