How to modify the agent under Chrome

Source: Internet
Author: User
Tags command line modify

Objective

Earlier, the way to modify the agent under Chrome was to use the chrome plugin.

Later, a version of Chrome came with this feature.

This feature was not available in the later version of Chrome.

So now I need to find a way to modify the current version of the Chrome agent.

The method of modifying agent with self

The first method of searching is to talk about the use of chrome to modify the agent function.

Modify the Chrome User Agent without using an extension this article is very clear, but also included with the picture.
But this article was December 13, 2011, when he said that only the chrome V17 version was supported. And my browser is already a version of 34.0.1847.131 M.
So this method has no effect.

How to modify an agent on the command line

Then find a way to modify the chrome agent using the command line.
Specifically, this article Chrome browser to modify the user agent method.

I tried it and found that all of the chrome windows had to be turned off first.
It is then executed on the command line before it is valid.

tiankonguse@tiankonguse-pc:~$ google-chrome--user-agent= "Tiankonguse Agent"

Then use the chrome grab package to see

get/record/http/1.1
Host:tiankonguse.com
connection:keep-alive
cache-control:max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-agent:tiankonguse Agent
ACCEPT-ENCODING:GZIP,DEFLATE,SDCH
accept-language:zh-cn,zh;q=0.8,zh-tw;q=0.6

Can be modified, so this method successfully modifies the chrome agent.
But this method is quite inconvenient to use.

Methods for modifying agents in various browsers

And then I have this to a more complete method of modifying various browser agents.
One of the two ways that Chrome does not use Plug-ins to modify agents is the above.
Recommend a look at this article clever use useragent camouflage browser.

Re-install the Google modification agent method

A good function, why do others have, while mine does not?
This is what I realized might be the problem with my browser.
Are chrome browsers divided into development and normal versions?
I'll see if I've installed a stable version.
So I tried to install an unstable version to see.

The internet is very slow, I changed the search keyword, plus 2014, find the most recent article, Change User Agent in Google Chrome is in the time for March 2, 2014 published, and this article comments the most recent time is May 8, 2014 at 4: PM.

The day before yesterday, so it should be the reason for the browser version.

Finally installed, F12, click on the gears, what did not find?
Or use the tutorial you just saw.
Click on the "> III" icon, Then Select "Emulatio" is not seen?
Okay, finally. Chrome does not use Plug-ins to modify the agent method.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/soft/soft1/

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.