Hello There, Guest!
View New Posts  |  View Today's Posts
[Info] IE 11 User-Agent String?

  • 0 Vote(s) - 0 Average


12-07-2013, 04:22 PM #1
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

Information  IE 11 User-Agent String?
And Internet Explorer, as though it wasn't already difficult enough to work with for web development, has thrown a few other wrinkles at web developers it seems. I was fooling around with some PHP, and noticed that my old user agent checker doesn't work for IE 11. Why? Because it's now designed to disguise itself almost fully, as Mozilla Firefox. No more "MSIE".

Code:
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko

http://msdn.microsoft.com/en-us/library/...s.85).aspx
http://blogs.msdn.com/b/ieinternals/arch...ebkit.aspx
http://www.neowin.net/news/ie11-to-appea...acy-ie-css


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

12-08-2013, 02:28 AM #2
KoBE
¯\_(ツ)_/¯
******
Global Moderators
Posts: 4,862 Threads:494 Joined: Jun 2011 Reputation: 67

RE: IE 11 User-Agent String?
That seems really stupid in my opinion. I don't know why they would want to disguise their browser as another.

12-08-2013, 10:45 AM #3
Mazzn
ლ(ಠ益ಠლ)
*******
Administrators
Posts: 199 Threads:16 Joined: Sep 2013 Reputation: 19

RE: IE 11 User-Agent String?
I can imagine MS wants to make IE more popular, so they get around "you can't use IE to view this page" messages by doing this.

The average user won't have the idea to change browsers as long as it works; when you see a message saying "Hey, your browser is bad, get a different one or you can't look at this page", you're very likely to switch...

At least that's my explanation. Cool

PS: Wow, 25th post already? I thought I had like 5 or 6...
Visit me at mazzn.net & blog.mazzn.net!
//This is very important :)

Self.KeepImproving(true);





Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
  Trying to redirrect user ImOnABoat 8 4,385 07-25-2011, 04:54 PM
Last Post: ImOnABoat


Users browsing this thread: 1 Guest(s)