Everyone claims to be someone else-translated version: Historical Changes of UserAgent

Source: Internet
Author: User

  I just saw an article in garden about UserAgent. I found this article and found it interesting. I sent it to the homepage for New Year's entertainment!

 

Google Chrome is a hot topic. Only professional users will notice the "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) appleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13 "UserAgent string, which looks like tianshu. What exactly does it mean? Let's take a look.

At first, a browser called NCSA Mosaic named itself NCSA_Mosaic/2.0 (Windows 3.1). It supports text display and images, so the Web started to play well.

 

Then a new Web browser, "Mozilla", is actually the "Mosaic Terminator". This Mosaic is quite uncomfortable (after all, Mosaic debuted early, and he is always on the road ), the name of the new browser is Netscape, which is named Mozilla/1.0 (Win3.1. According to the Netscape support framework, later frameworks became popular, but Mosaic did not support the framework. Therefore, the Great "User Agent Detection" technology emerged. If it was "Mozilla ", then, it is sent to the page supporting the framework. For other browsers, it is sent to the page without the framework.

 

Netscape wants to tease Microsoft and calls Windows a "device drive that has never been debugged", which is annoying. Microsoft launched its own web browser called Internet Explorer, hoping it could become the "Netscape Terminator ". Internet Explorer also supports frameworks, but it is not Mozilla, so no one sends a page with a framework to it. Microsoft is getting bored and does not expect website administrators to gradually get to know IE and send it a framework. Instead, they claim that they are "compatible with Mozilla" and begin to imitate Netscape, I named myself Mozilla/1.22 (compatible; MSIE 2.0; Windows 95), so that Internet Explorer can receive the framework, and the entire Microsoft exists, but the website administrator is a bit confused.

 

Microsoft sold IE and Windows together and made the product better than Netscape, opening the first browser battle. As you know, Netscape was killed, and Microsoft was a big winner and a big joy. But later Netscape was reborn with the new name of Mozilla and constructed Gecko, which was named Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: 1.1) gecko/20020826, Gecko is a rendering engine with excellent performance. Mozilla developed Firefox, named Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv: 1.7.5) Gecko/20041108 Firefox/1.0, firefox also performs very well. Gecko expanded rapidly. Some browsers used its code and named it Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv: 1.7.2) gecko/20040825 Camino/0.8.1, this is one, there are Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: 1.8.1.8) Gecko/20071008 SeaMonkey/1.0, the other, they all disguise themselves as Mozilla, and are also supported based on Gecko.

 

Gecko performs well, while IE does, so identity Screening occurs again. What is delivered to Gecko is a well-designed webpage code, and other browsers will not be treated as well. Linux followers are very sad because they have created Konqueror Based on the KHTML engine, but they will not be delivered with good code. Although they think that KHTML is as good as Gecko, therefore, Konquerer began to disguise itself as "getting a good webpage like Gecko" and named itself Mozilla/5.0 (compatible; Konqueror/3.2; FreeBSD) (KHTML, like Gecko ), this world is even more confusing.

 

Mm games

Later, a master such as Opera came into being and declared that "Users are allowed to decide who the browser should be installed". The menu provided Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 9.51, Mozilla/5.0 (Windows NT 6.0; U; en; rv: 1.8.1) Gecko/20061208 Firefox/2.0.0 Opera 9.51, Opera/9.51 (Windows NT 5.1; U; you can choose who you are.

 

Apple developed Safari, used KHTML, and added many new features. Later, it simply went through a pot of cooking and called WebKit, But it hopes to get web pages written for KHTML, therefore, Safari is named Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/85.7 (KHTML, like Gecko) Safari/85.5, the world is even more chaotic.

 

Microsoft is increasingly worried about the development of Firefox, and has restarted Internet Explorer development. It is named Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) and can render code very well, but it depends on whether the website administrator instructs it to do so.

 

Beauty games

Google also developed its own browser Chrome, using Webkit, a bit like Safari, hoping to get a webpage written for Safari, so it decided to install it as Safari. In this way, Chrome uses the WebKit rendering engine to pretend to be Safari, while WebKit disguise itself as KHTML and KHTML as Gecko, meanwhile, all browsers claim to be Mozilla, So Chrome claims to be Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13, The UserAgent string is completely chaotic and almost no longer plays any role. Everyone claims to be someone else, and chaos is everywhere.

Dress up games

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.