So my website is getting a lot of traffic from PS3 browsers (says Google Analytics), I had my girlfriend test this out on her PS3 and the website looks horrible on a flatscreen tv and a smaller tv, this isn't the problem though, I'm looking for a way to detect the PS3 browser and put it into Javascirpt kinda like this:
if (ps3browser) {
/* Blahblahblah */
}
I know this is possible because Google Analytics does it and detects browsers:
PS3 browsers contain PLAYSTATION
in their User-Agents, so you could check the agent of the browser and act on that.. something like :
var agent = navigator.userAgent;
if (agent.indexOf("PLAYSTATION") != -1)
//PS3 browser