Puffin Browser's new User Agent format
Posted on 10 June 2013
I take a lot of care and a lot of pride in making the user agent parsing on WhatIsMyBrowser.com the most accurate and extensive on the internet.
Occasionally when I encounter a fragment that I'm not 100% sure about, I'll contact the manufacturer to ensure that I'm parsing their user agent properly.
Most companies that I've contacted are pretty cool and get back to me with helpful information, and just recently the makers of the Puffin Web Browser were no exception.
I emailed their support with a question about their "X11" and "Linux" fragments, because as far as I could tell from their website they only made Puffin for Android and iOS devices. My assumption was that since Android uses the Linux kernel, user agents which had those fragments should be considered to be running Android (i.e. to not actually report the Operating System as being "Linux" even though the "Linux" fragment typically would cause this to happen).
Not only did Puffin get back to me, but because of my question they actually made a straightforward but vastly helpful change to the way they format their User Agent. Since it was prompted by my question and since they've given me insight into this change, I wanted to share it with anyone else.
It remains the same that the fragment to look for is "Puffin/3.9174IT".
The first part: Of course the "Puffin" obviously indicates that it is the Puffin browser.
Secondly, the following 3.9174 is the Major and Minor version numbers
Thirdly, the change that they made is to add the "IT". This can be one of four possibilities.
- IP means iOS-Phone
- IT means iOS-Tablet
- AP means Android-Phone
- AT means Android-Tablet.
The developers also advised me that when they release the Windows version of Puffin, they will also have:
- WP means Windows-Phone
- WT means Windows-Tablet
So in that example fragment, you can now tell that the "IT" denotes iOS Tablet (in other words iPad).
So you may see something like (the relevant parts are underlined):
iOS Tablet (iPad):
The existing detection needs to remain though; as there are still older versions of Puffin running on people's devices. So you also need to check for the version fragment with the single "M" that has been appearing (which denotes Mobile).
Some versions of Puffin also don't have any trailing letter either:
I have updated WhatIsMyBrowser.com's detection to include these possibilities, hopefully this information will help others as well.
If you're interested in using the same powerful User Agent parsing that WhatIsMyBrowser.com provides, check out our API
And a big thanks to Puffin for their helpful reply and for making a small but helpful change to their browser.