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.
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 = PlayStationVersion = 1.000isMobile = falsePlatform = Sony PlayStation
Here is the useragent I used (found with Google):
Mozilla/5.0 (PlayStation 4 1.000) AppleWebKit/536.26 (KHTML, like Gecko)
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)