cbschuld / Browser.php

A PHP Class to detect a user's Browser. This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string. This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.
https://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/
MIT License
580 stars 303 forks source link

Add support for Playstation browser #52

Closed FootballFan141 closed 8 years ago

FootballFan141 commented 8 years ago

I'm new to doing things on GitHub so hopefully I did everything right. I saw the issue #44 and thought I'd try to help out. I used the useragent changer in Chrome and I believe it works fine , if anyone has a Playstation please confirm for me. 😀

Here are the results I got when testing the PS4 useragent: Browser = PlayStation Version = 1.000 isMobile = false Platform = Sony PlayStation

Here is the useragent I used (found with Google): Mozilla/5.0 (PlayStation 4 1.000) AppleWebKit/536.26 (KHTML, like Gecko)

cbschuld commented 8 years ago

Thanks @FootballFan141