Change Chrome's user Agent, mobile network

Source: Internet
Author: User


In theory, access to the mobile phone version or ipad, such as tablet version of the network, should be able to leave some traffic, after all, mobile network is optimized compression, but the PC computer if access to mobile version of the site? My main browser is chrome, these days also found under Chrome's modification method, set the user agent parameters to easily disguise chrome as Android,iphone,ipad and other mobile devices, access to mobile version of the site.

The most common method of modification is a long parameter, such as:

Simulate chrome disguised as an ipad, modify Chrome shortcuts, and add the following user agent string at the end of the Shortcuts > targets column:

--user-agent= "mozilla/5.0 (IPad; U CPU iPhone os 3_2 like Mac os X; En-US) applewebkit/531.21.10 (khtml, like Gecko) version/4.0.4 mobile/7b314 safari/531.21.10 "

Once you're sure, re-open the Chrome access page (Google search, Gmail, for example) and you'll find that the website has become an optimized interface for ipad.

The user agent string above is an international standard format, long and difficult to remember. Introduce a more concise way to modify Chrome's user agent today to easily experience a mobile network.

The user agent string that simulates chrome masquerading as an ipad:

--user-agent= "IPad"

The user agent string that simulates chrome masquerading as an iphone:

--user-agent= "IPhone"

Simulate chrome masquerading as the user agent string for Android:

--user-agent= "Android"

This is not simple and convenient a lot, but also easy to remember.
The target (T) column of the Chrome shortcut after the change should be:

C:\Users\ your username \appdata\local\google\chrome\application\chrome.exe--user-agent= "IPad"

Update tip: As if the horizontal line appears in the Web page effect is different, the above user agent starts with two horizontal lines.

Test success under Chrome, Firefox and Opera and other browsers do not know that support does not support this concise user Agent, I do not install the other browser, can not test, see this article of children's shoes have time to test. Experience the mobile site by setting the user Agent for the mobile device you want to impersonate.

Use this Chrome plugin window Resizer to easily resize Chrome's windows to fit the mobile page.

PS: For friends like me who use 3g networks, the main thing is to be able to save some traffic

Change Chrome's user Agent, mobile network

Related Article

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.