Hacker News new | ask | show | jobs
by ocdtrekkie 3182 days ago
Edge's user agent I believe is specifically chosen to look like Chrome to most websites. I believe they have said they had a lot of issues modernizing IE because people's "detect IE" hacks would assume IE still needed those hacks, and it would in fact end up breaking the website when IE improved.
1 comments

Edge's user agent is almost a parody of how bad UA strings have become. Its basically claiming to be every major browser at once.

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.

Except Internet Explorer.

http://www.useragentstring.com/pages/useragentstring.php?nam...

IE version 6: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.1)

IE version 10: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)

IE versi--wait, what (?!): Mozilla/1.22 (compatible; MSIE 10.0; Windows 3.1)

That last one made me wonder if someone was trolling an auto-collection system or if a zero somehow got added by a Network™. Offtopic but had to add it.