Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Internet Explorer (9) report "Mozilla" in UserAgent?

Why does Internet Explorer has Mozilla in UserAgent?

In Firefox it's stating:

Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

In Interner Explorer it's stating:

Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0E; .NET4.0C)

In some blogs/forums it's mentioned, that it is due to some historical reasons, but what's the reason?

It would be very helpful to know about it.

like image 597
Harsh Baid Avatar asked Nov 02 '11 05:11

Harsh Baid


People also ask

Why does user agent say Mozilla?

It spoofs Netscape by starting its User-Agent with Mozilla/ because web servers were routinely browser sniffing and serving pages with frames - a feature supported by both Netscape and IE, but not other browsers of the era - to Netscape only.

Why does Chrome user agent say Mozilla?

Mozilla/5.0 is the general token that says the browser is Mozilla compatible, and is common to almost every browser today.

What is userAgent browser?

Your User Agent is:This page shows you what your web browser is sending in the "User-Agent" header for your HTTP requests.

Is Firefox safer than Internet Explorer?

But when it comes to privacy and cybersecurity, new research suggests that Firefox is definitely at the top. The German Federal Office for Information Security (BSI) tested Mozilla Firefox 68 (ESR), Google Chrome 76, Microsoft Internet Explorer 11, and Microsoft Edge 44 to determine the most secure browser.


1 Answers

this should do it:

http://en.wikipedia.org/wiki/Mozilla

When users visit a website (via a user agent such as a web browser), a text string is generally sent to identify the user agent to the web server. It is known as the "user agent string". The Netscape web browser identified itself as "Mozilla/" followed by some information about the operating system it was running on.

Because the Netscape browser initially implemented many features not available in other browsers and quickly came to dominate the market, a number of web sites were designed to work, or work fully, only when they detected an appropriate version of Mozilla in the user agent string. Thus, competing browsers began to emulate ("cloak" or "spoof") this string in order to also work with those sites. The earliest example of this is Internet Explorer's use of a user agent string beginning "Mozilla/ (compatible; MSIE ...", in order to receive content intended for Netscape, its main rival at the time of its development. This format of user agent string has since been copied by other user agents, and persisted even after Internet Explorer came to dominate the browser market.

wiki knows everything

also https://superuser.com/questions/113020/why-does-internet-explorer-calls-itself-mozilla

like image 128
galchen Avatar answered Oct 23 '22 23:10

galchen