Targeting ie10 on Windows8, not possible?May 28, 2013

Where I work at the moment we do some UA browser sniffing for various reasons, and we recently came across a Windows8 laptop user with Internet Explorer 10 who was seeing the mobile version.

They use categorizr, and it’s just been sitting there on the server doing it’s thing and working just fine, until we had the aforementioned problem.

Further investigation showed that development on categorizr has stopped, though.

Before Windows 8, you could determine the difference between a Windows PC and a Windows tablet by looking for Tablet PC in the user agent string.

Though when I looked at the user agents Paulo Morgado collected from IE10, running on Windows 8 on his dev device, I noticed there was no reliable way to differentiate the user agent between Metro and Classic Desktop mode.

This is true, here’s a UA string list for ie10 that is mentioned – there’s no difference in the UA strings.

So using UA strings; there’s no way of knowing whether it’s a desktop or tablet. As categorizr assumes everything is a mobile by default, this is why Windows8 laptops running ie10 think it’s a mobile device, as the current version of categorizr only looks for ie9.

I haven’t yet found a reliable way to detect ie10 mobile v desktop, BUT mobile ie10 does not use ActiveX. You could assume that most of those using ie10 and that haven’t got ActiveX are probably ie10 mobile. – However, lots of people are recommending against this as you can manually turn off ActiveX in the desktop version, which some people do, or have to have on locked-down network computers in corporations, for example.

The categorizr script assumes everything is mobile. Doesn’t check for ie10. Can’t differentiate mobile from desktop in the ie10 UA string. Categorizr no longer being developed because of this.

Any thoughts on targeting ie10 on Windows?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>