The One Where We Update Browser Detection

By January 17, 2014Archives

A handy feature in Gaug.es is knowing which browsers are visiting your site and which features those browsers support. As new browsers come out and old browsers are updated, they like to change how they identify themselves. It’s important that we stay on top of those updates so you’re getting accurate information, but that can be a bit tricky sometimes.

For example, here’s how Internet Explorer changes from version 10 to version 11.
Version 10: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)
Version 11: Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko

Notice that version 11 doesn’t even actually say it is Internet Explorer?

For comparison, here is is how Firefox reports:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0

Also notice that Internet Explorer and Firefox both say they’re “Mozilla” and “Gecko” and maybe also some other stuff? There are historical reasons for this, but suffice it to say that we can’t necessarily take what the browser tells us at face value.

We deployed the latest browser detection code for Internet Explorer 11 and we’ll continue to monitor all new and updated browsers.

Love,
Gauges Team