As the title says, is there a reliable way to detect whether a user is visiting my page using Chrome on Mac using PHP?
I have a bug that only displays when using Chrome on Mac, and until I get it sorted out I would like to have a popup to recommend the users to use a different browser.
Use $_SERVER[‘HTTP_USER_AGENT’] to find the users’ user agent and a function to check if this is within the string.
This will work with any type of Mac OS X software and any version of Chrome. If you want to narrow your results down further, you can just use: