User-Agent settings and usage in Firefox

Source: Internet
Author: User
Tags user agent switcher
Document directory
  • 1. What is User-Agent?
  • Ii. How to Set User-Agent in Firefox
  • 3. What can I do if I set the User-Agent?

1. What is User-Agent?

In more professional terms, user-agetn is part of the HTTP protocol and is part of the header domain. For more information, see the English version of Wikipedia.
User-Agent is also called UA. We will use UA as the abbreviation of User-Agent.

Generally speaking, it is an identifier that provides the browser type, operating system, browser kernel, and other information you use to access a website. With this identifier, the website you visit can display different typographical formats to provide a better user experience or collect statistics;

For example, using a mobile phone to access Google
Unlike computer access, mobile access will display the following interface, which Google judges based on the visitor's UA.

Ii. How to Set User-Agent in Firefox

 

You can download it in Firefox"User Agent switcher

"Extension to set and switch UA. The official address is as follows:

Https://addons.mozilla.org/zh-CN/firefox/addon/59

After installation, the tool directory contains the "User Agent switcher" column. You can set the UA of Firefox to IE, Netscape, opera, or other custom UA.

If you want to customize UA, you can use the option to go to the settings page and set the UA you want to use. The User-Agent set for nokian73 is as follows.

If you want to know what UA is used by your browser or mobile browser, visit the following address:


Http://ua.penddy.com

Note: If you use a mobile phone for access, the UA information in the cmwap connection (mobile dream Network) is removed by China Mobile, so you need to use the cmnet connection (GPRS connection to the Internet) to see the UA information.

3. What can I do if I set the User-Agent?

Basin
Personally, the User-Agent is set for the following reasons:

You can browse the WAP website and simulate a mobile phone to download the corresponding software.

You may encounter the following situations when you browse the WAP website and download the corresponding software from a simulated mobile phone:

1. directly useWmlbrowser

Extended access, such as the WAP site of Sohu: http://wap.sohu.com/

This type only needs to parse WML, no IP limit or UA limit

2. RequiredWmlbrowser

AndUser Agent switcher

For example, qq wap station: http://3g.qq.com

In addition to parsing WML, this type displays different pages according to UA.

3. InWmlbrowser

AndUser Agent switcher

With the help of the mobile phone, you need to dial up the Internet through the mobile phone, such as mobile Dream network:Http://wap.monternet.com

In addition to the above requirements, this type also has connection restrictions. In this example, cmwap connections between China and China Mobile cannot be accessed.

In fact, with these two plug-ins, most of the things that the mobile browser can do can be done in Firefox, which is very convenient to use. Friends who need it can expand their own purposes.






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.