为什么IE浏览器的User-Agent也是“Mozilla”打头的呢

    本帖摘录自 http://www.firefox.net.cn/newforum/viewtopic.php?p=151591

    IE加入mozilla的字符串是为了在当时netscape占领大部分市场的情况下告诉写网页他们的浏览器和netscape是兼容的。

    第一轮浏览器大战最后以Netscape被收购,Internet Explorer独霸浏览器市场告终。而此时Mozilla的历史正是由这里开始。浏览器之战失利以后,Netscape并没有消失,为了挽回市场, 1998年Netscape将浏览器的大部分代码开源,成立了一个组织,计划开发下一代的 Netscape浏览器,这个组织就是Mozilla.org,它的图标是一只恐龙。

    不久后,Netscape的源代码就差不多被全部抛弃, Mozilla社团开发出了在稳定性和功能上更出色的新一代浏览器。这个浏览器就是Mozilla Application Suite,简称Mozilla(Mozilla这个名字的来源是Mosaic和Godzilla(怪兽哥斯拉)两个词的结合,意为 "Mosaic终结者"。

    起初,Mozilla是Netscape的吉祥物,也是Netscape Navigator浏览器使用的内部开发代号。由于Netscape早期的影响力,直到今天,所有浏览器包括IE,向Web服务器报告自己的浏览器标识的 时候,都以 "Mozilla"开头,表明自己是Mozilla兼容的。

wikipedia 中关于 User-Agent的一段说明
 
The earliest example of this is Internet Explorer's use of a User-Agent string beginning " Mozilla/<version> (compatible; MSIE <version>...", in order to receive content intended for Netscape Navigator, its main rival at the time of its development. This was not a reference to the open-source Mozilla browser, which was developed much later, but to the original codename for Navigator, which was also the name of the Netscape company mascot. This format of User-Agent string has since been copied by other user agents, partly because Explorer, in turn, came to dominate.

    如果有兴趣的可以到 wikipedia上进行查看,链接为:http://anonymouse.org/cgi-bin/anon-www.cgi/http://en.wikipedia.org/wiki/Useragent

另外有一个网站为http://www.user-agents.org/index.shtml  可以查询部分
Useragent的相关信息。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值