Skip to main content
WolfShade
Legend
October 27, 2016
Question

I just received some disturbing news

  • October 27, 2016
  • 2 replies
  • 638 views

All,

I just received some news that has me, quite frankly, concerned.

I was told that our intrusion detection guys started noticing a user agent string that is presenting itself as almost everything.. IE, FireFox, Chrome, Safari, Opera.  These user agent strings were coming from inside, not outside, our network.

After some thorough investigating, it was determined that the culprit was the Internet Explorer 11 on Windows 10.  Apparently, Micro$oft is a little annoyed that developers have been setting different code for different browsers, so they (apparently) are presenting IE11 under Win10 as "everything".

I find this more than just a little disturbing.

I do know that you should write code based upon available elements instead of using browser detection, and that browser detection is generally frowned upon.  However, there are some things, especially some CSS, that are entirely browser dependent - not all browsers parse 100% of CSS exactly the same.  Some consider borders when calculating width/height, etc., some don't.

I think Micro$oft has, again, made our job just a little bit more of a pain.

V/r,

^_^

    This topic has been closed for replies.

    2 replies

    Legend
    October 28, 2016

    I have not seen what you are describing and we have thousands of IE11 users - both internal and external. Also if MS really did do something like this it would be self-defeating as it would highlight IE inconsistencies more that solve whatever they were trying to fix (and for the life of me I cannot figure out anything beneficial for something like this).

    Inspiring
    October 28, 2016

    Where is the evidence to back this claim up?

    Looking at our visits and internet explorer 11 users, we see nothing like this at all. I have not seen any rumblings on the internet to say such a thing is happening either.

    If this is something coming from inside your network then I would say that something inside your network is also changing these user agents, not the OS or the browser.

    I cannot see MS doing this on Windows 10 either as the flag ship browser is Edge, which is compatible with the webkit and blink engines, further reducing the need to write different code for different browsers.

    WolfShade
    WolfShadeAuthor
    Legend
    October 28, 2016

    First, I would like to apologize for one thing: the person who told me of this was not distinguishing between IE11 and Edge.  It's Edge that is doing this, not IE11.  Also, the person who told me of this included Opera in the list of browsers; Opera isn't, after all.

    I did reach out to our guys in intrusion detection (who corrected me on the IE11/Edge bit), and was provided a link to an FAQ page for Micro$oft.  If you scroll down to the question "What is the Microsoft Edge user agent string?", they have provided two examples (Edge, and Win10 Phone), plus their explanation of why.

    For Edge:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/13.<OS Build #>

    So, Edge is presenting itself as Edge, Mozilla (FireFox), Apple, Konqueror, Chrome, and Safari, all in the same UA.

    V/r,

    ^_^

    Inspiring
    October 28, 2016

    i don't see the problem with this. This is a standard. The user agent string tells you what the browser can support as well. Edge is compatible with blink and WebKit which is why it supports the browsers in its UA.

    Chrome and Safari have the same UAs with minor changes.

    for example

    Windows 10-based PC using Edge browser
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246
    Chrome OS-based laptop using Chrome browser (Chromebook)
    Mozilla/5.0 (X11; CrOS x86_64 8172.45.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.64 Safari/537.36
    Mac OS X-based computer using a Safari browser
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9
    Windows 7-based PC using a Chrome browser
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

    They all support the same web content so it shouldn't make a difference if they are the same.