Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

User Agent 007 update for Mountain Lion?

Adam
Minted
Posted on Sep 18, '12 at 06:12 pm

Any ETA on an update for the User Agent 007 pepper to recognise Mountain Lion, and newer versions of Android and Windows?

Any chance to support Mountain Lion and Win 8 tracking? Or at least some instructions on how can we edit user agent 007 so it tracks these OS?

jwchess
Minted
Posted on Oct 21, '12 at 10:56 am

I would like to know that as well!

same here..

Until an update is available patching the pepper yourself is pretty straightforward. Open 007’s class.php file, look for the parseUserAgent function and you’ll see the mapping for OS releases.

While you’re there you can also change part of the preg_match_all call for Windows to fix some Chrome versions showing up as unknown. Change the win[^;/]+ part to win[^;/\)]+ and these should start to match properly.

You must be logged in to reply. Login above or create an account