Mozilla is available in all browsers user-agent. Chrome calls itself "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 ".Because of this history, the current user-agent string becomes a mess, almost imposs
The user agent string userAgent can implement four identification functions: String useragent
Definition
User proxy string: navigator. userAgent
The HTTP specification clearly stipulates that the browser should send a brief
pages written for Safari, so it pretended to be safari. Chrome uses WebKit and disguise itself as safari. WebKit is disguised as khtml, khtml is disguised as gecko, and finally all browsers are disguised as Mozilla, this is why all browsers have Mozilla In User-Agent. Chrome calls it"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".
B
Defined
User Agent string: navigator.useragent
The HTTP specification specifies that the browser should send a short user agent string indicating the name and version number of the browser. But in reality it is not so simple.
D
Do you still remember the last time Maxthon changed the UA event? UA is a request sent by the browser to indicate its identity to the server. It not only allows the website to collect statistics on visitor browser information, on some websites, different pages are specially designed for different UA to obtain the best display effect, while IE7 has not yet been released.CodeIf you only want to access IE6, there may be some compatibility issues or even access failure. In this case, you can use thi
The Electronic Outpost Foundation (EFF) has launched a research project called Panopticlick to investigate seemingly innocuous browser configuration information, such as user agent strings, plug-in version numbers, fonts, and so on, to create unique digital fingerprints that allow web surfers to be tracked, Even if the cookies are restricted or deleted.
According to EFF's findings, the average browser send
The User-Agent string is an important basis for the server to determine the Web Client. There is an article on msdnArticleUnderstanding User-Agent strings is good. Read it.
The following lists the User-
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.