User Agent class doesn't know Chrome |
[eluser]Chris Williams[/eluser]
Detecting the browser on Google Chrome for Mac returns 'Safari' Code: echo $this->agent->browser(); They both contain "Safari" in the agent string, however, Chrome is also a part of the string as well. Chrome for Mac Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4 Safari for Mac Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
[eluser]gyo[/eluser]
Yep, but you can download the latest user_agents file from the BitBucket repository, which is updated! ![]() |
Welcome Guest, Not a member yet? Register Sign In |