Modify the browser User-Agent

Source: Internet
Author: User
IE
    1. To modify the useragent of IE, you must edit the registry.
    2. "HKEY_CURRENT_USER" software "Microsoft" Windows "CurrentVersion" Internet Settings "5.0" User Agent "post platform"
    3. "HKEY_LOCAL_MACHINE" software "Microsoft" Windows "CurrentVersion" Internet Settings "User Agent" post platform"
    4. "HKEY_LOCAL_MACHINE" software "Microsoft" Windows "CurrentVersion" Internet Settings "5.0" User Agent "post platform"
    5. If you want to change the useragent of IE to Firefox, you can do this:
    6. Change the default value of useragent to "Firefox", and create a new string value "Firefox" = "" under post platform. Restart ie after modification.

Firefox
    1. 1. Enter "about: config" in the address bar and press enter to enter the settings menu.
    2. 2. Find "General. useragent. Override". If this item does not exist, right-click "new"-> "string" and enter this string.
    3. 3. Set the value to the useragent you want.

Opera
    1. Method 1:
    2. 1. Choose tools> preferences> content> advenced In the toolbar and click manage site preferences.
    3. 2. Click the "add" button. In the displayed window, enter "*" in "Site" and select the browser ID in the "network" tab. The options are as follows:
    4. 0 default
    5. 1 opera
    6. 2 Mozilla, opera detectable
    7. 3 Internet Explorer, opera detectable
    8. 4 Mozilla, opera hidden
    9. 5 Internet Explorer, opera hidden
    10. Method 2:
    11. 1. Enter "Opera: config" in the address bar and press enter to open it.
    12. 2. Click "User Agent" and set the desired value for "spoof useragent ID" in it. The value range is 1-5. The corresponding ID is the same as above.

Maxthon

Choose tools> roaming settings center> advanced options from the toolbar, select Custom useragent string, and enter your useragent. Save the settings and restart Maxthon.

 

 

Chrome
    1. Method 1: add the parameter -- User-Agent = "Your useragent" at startup"
    2. Method 2: Modify chrome. dll. Change the useragent string to your own.

Safari
    1. 1. Choose "edit"> "Preferences"> "advanced" from the menu bar, and select "show develop menu in menu bar ".
    2. 2. There will be an additional item "develop" in the menu bar. You can set your useragent through the "user agent" sub-menu.

IPhone
    1. Replace Mozilla/5.0 in the/system/library/frameworks/WebKit. Framework/WebKit file with other UA. The characters must not exceed the length of "Mozilla/5.0.

 

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.