Home > Common Problem > body text

What does desktop ua mean?

藏色散人
Release: 2020-05-13 13:22:04
Original
11185 people have browsed it

What does desktop ua mean?

What does desktop ua mean?

Desktop UA is the desktop user agent, referred to as UA (User Agent); its function is to enable the server to identify the operating system and version, CPU type, browser and version, browser rendering engine used by the customer, Browser language, browser plug-ins, etc.

Some websites often send different pages to different operating systems and different browsers by judging the UA. Therefore, some pages may not be displayed properly in a certain browser, but it can be bypassed by disguising the UA. Passed testing.

Since many websites ignore the two-digit version number when performing UA detection, it may cause the browser and later versions to receive bad pages. Therefore, the browser identification item in versions after Browser 10 Fixed for browser, add real version information at the end of UA string.

What does desktop ua mean?

Extended information

user-agent string format:

Google Chrome browser uses WebKit as the rendering engine, but the JavaScript engine uses Another kind. The initially released version is 0.2. Its user-agent string format is based on webKit information and adds the following:

Mozilla/5.0 (Platform; Encryption; OS-or-CPU; Language) AppleWebKit /AppleWebKitVersion (KHTML, like Gecko) Chrome/ChromeVersion Safari/SafariVersionChrome 0.2 An example of user-agent information is:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML , like Gecko) Chrome/0.2.149.29 Safari/525.13 Although I cannot guarantee it completely, it is very likely that the WebKit version and the Safari version will always be in sync.

The above is the detailed content of What does desktop ua mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
ua
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template