Change the Chrome User Agent using an extension

In my fourth post 😀 I would like to show you how to configure the User Agent de Chrome to show us our distribution in a very simple way, this time through an extension.

We open Chrome and in the address bar we put the following.

chrome: // extensions /

Press the option that says Get more Extensions and search User Agent Switcher for Chrome. Add it to Chrome and if necessary activate it on the exemptions page it can be activated.

A small icon will appear in the upper right part, click on it and go to settings. There a page will appear with the option to add our configuration in the first field with the title New User-agent name.

We will put what we want that configuration to be called in my case I put Fedora / Chrome But you can put it as you want, before continuing open another tab and enter the following link.

chrome: // version /

Look for the line that says User agent: and copy the following to that in my case.

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17

Go back to the tab where we were working and in the field with the title New User-Agent String paste what you copied but just behind Chrome write your distribution in my case.

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Fedora Chrome/24.0.1312.56 Safari/537.17

In the next field with the title GROUP we will put Chrome and in the last field with the title Indicator Flag We will put the letters that will appear next to the icon in the upper right.

That is, if we put G, a small letter G will appear next to the icon.

Put what you want, I put FC (FEDORA CHROME), press Add and it would only be necessary to activate that configuration, press the icon and enter the option Chrome and activate your configuration (this as you put it in my case Fedora / Chrome).

I hope it has served you: D.

 


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

95 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Daniel Rojas said

    Testing…

    1.    Daniel Rojas said

      Very good! Thanks 😀

    2.    pandev92 said

      Testing…

  2.   elruiz1993 said

    It's a miracle, my distro finally appears, excellent tutorial.

    1.    elruiz1993 said

      How strange, in the one above it does appear but in the comments it does not, do you know how to fill it to make it mint?

      1.    MRGERSON said

        Testing with linux mint ...

        1.    MRGERSON said

          Testing again ..

      2.    MRGERSON said

        Put your distribution but detached bone behind Chrome you put Linux Mint. I hope it helps you; D

        1.    elruiz1993 said

          Let's see, let's see ...

          1.    elruiz1993 said

            Great, thanks 🙂

  3.   diazepam said

    let's see me (I use chromium)

    1.    diazepam said

      second try

  4.   ppsalama said

    Well, I'm also going to try ... let's see ...

  5.   ppsalama said

    Works
    I suppose that when there is a Chrome update, the user agent data will have to be updated, right?

  6.   Rots87 said

    I used them but the only thing I don't like is that it doesn't update the version of the chrome you are using, it's the only thing that I didn't like ...

  7.   cat_sk8 said

    Thank you

  8.   jamin samuel said

    Huy I do it almost the same but from the configuration of the XFCE Menu.

    However, thanks for the post 😉

  9.   msx said

    Chromium does not need to add any extensions.

    1st: no extension is necessary to change the UA of Chrome / Chromium, if there is something that abounds in these browsers it is the arguments for the command line, in this case:
    –User-agent = »{string}»

    Obviously the flag can be added in several different ways ...
    running the browser from the command line
    adding the flag to the launcher of the application menu that we use
    adding the flag to the .desktop file
    creating an intermediate executable script which in turn launches the browser
    .etc.

    Although the correct way is only one: modify the "default" file in / etc / chromium and add there all the flags with which we want to modify the behavior of Chromium, in this way every time the browser is started by system calls the It will be executed with the flags indicated for this purpose.

    2. With each update of the browser the version numbers in the user string change so you have to remember to modify said string after updating - definitely something cumbersome to be able to show the world that we use Chromium, WTF! Totally kiddy ...

    As Chrome I hardly use it, I don't know how you can pass the parameters to it from a file like Chromium, unfortunately you will have to google it: p

    1.    sieg84 said

      I will try what you mention so that it uses the cache in / tmp (tmpfs)
      in FireFox / Opera the above is simpler.

  10.   linuxito said

    Very good article. I take this space to ask for your help, because I have a question: before I used to connect via ADSL modem directly to the internet, and I tested Arno's (the Firewall I use) with a specific website that was looking for vulnerabilities in the Firewall. The results were excellent. Since I use a wifi router to access the internet (a Tenda w311r) the results are very bad, since it responds to Ping Reply and Solicited TCP Packets (which did not happen before), in addition to showing the ports as "Closed" not as "Stealth" how can I fix this?

    1.    msx said

      «Since I use a Wi-Fi router to access the internet (a Tenda w311r) the results are very bad, since it responds to Ping Reply and Solicited TCP Packets (which did not happen before), in addition to showing the ports as“ Closed ”no like 'Stealth' how can I fix this? »

      If it is as you tell it, it is very easy: you are totally clueless - and you will laugh when you realize it.

      Clearly, the only different thing in the equation is the change of router, from what you tell before you used a wired connection to another router or directly to the internet provider's modem and now what you do is connect to a router vi wifi.

      PLEASE NOTE: if you were connected directly to your provider's modem, your own machine was the Gateway and End Point of the connection, so it effectively filtered the traffic coming from outside through your IPTABLES configuration (in this case manipulated by the software what do you quote).

      If you now added a new router to which you connect, the router is the Gateway through which you access the internet; As such, all the requirements from the net go directly to your router and from there they are derived to your system to the extent that the different filtering rules are built.

      Then:
      A) If before you used another router that you replaced with the router that you use at the moment (Wi-Fi), the security setting was done on the router itself and you must do the same on the router that you use now.
      B) if before you connected directly to the modem of your service provider and now you do it through a router, what you should do is configure the rotuter correctly - for what was explained above.

      So that you take note: firewall in GNU / Linux !! ?? WTF !!!
      The topic of firewalls is overrated, totally hyped and overrated, it is a great advertising strategy of the 'cybersecurity vendors' (or more insecurity mongers, should I say?).
      1st: the fact that the ports are STEALTH (that is, camouflaged) means that they are not advertised on the net, so it effectively helps your machine to go unnoticed and "avoid" attacks.
      2nd .: if a port is CLOSED, IT IS CLOSED. Unless there is explicitly software on your machine that is listening for eavesdropping to enable a Port Knocking, the closed ports will remain that way and it is impossible that there will be any type of access to them.
      3rd .: even in Windows running a general and heavy firewall is idiotic. What you must do is simply DEACTIVATE THE SERVICES THAT ARE NOT USED and that are listening to the net traffic.
      4th. the only scenario where it is necessary to use a firewall is on servers that are directly exposed to the net, since in this way we avoid overloading the system with disposable requests and generating excessive bandwidth. Despite the enormity of the attacks on servers and other equipment connected to the net is via port 80 which .. OH, CASUALITY, IF WE CLOSE IT WE AVOID ANY CONNECTION TO THE SITES THAT IT HOST !!!
      Trust me, running a firewall is stupid unless it's really necessary.
      5th. As I said before, on GNU / Linux and BSDs used as personal machines it makes no sense to use a firewall.
      6th. The only added value that the use of a firewall can have is to PREVENT DATA FROM GOING OUT FROM OUR NETWORK TO THE CLOUD.
      In fact, this is the only true service that firewalls provide to users of Windows computers where people who are mostly computer illiterate click banners and bullshit of all kinds to install emoticons and various garbage, generally crapware for the sole purpose of connect with their owners and send information of all kinds regarding the use of the machine, user habits, etc.
      Needless to say, a firewall with outbound filtering helps mitigate the effect of certain malware ...

  11.   Leo said

    Very good!! (although I left chome a long time ago)

    Although I insist that there should be a way to enter the Desktop Environment 😉

  12.   v3on said

    This can be done without the need for an extension, F12> the gear icon down / right> Overrides> User Agent and we put the text string

  13.   Hang1 said

    Are you seriously using Chrome instead of Chromium? o_O

    1.    MRGERSON said

      HAHAHA YES 😛

  14.   Jonathan said

    It's true, haha, the icon has already come out ...

  15.   TheSandman86 said

    Testing…

  16.   ppsalama said

    Hey.
    I had to uninstall the extension because gmail did not load (it stayed in the progress bar after login)
    I have assumed it is this extension because disabling it all fixed it.
    salu2

  17.   Algave said

    Using Chromium but it appears to me that I use Chrome 🙂

  18.   geek said

    let's see…

  19.   Old man said

    using chromium

  20.   F3niX said

    Excellent I was looking for it. A greeting and thanks for the input.

  21.   c4explosive said

    It worked with Archlinux. Thank you.

    1.    KZKG ^ Gaara said

      Great ... the three blue icons, HAHAHAHA!
      Congratulations 🙂

  22.   lawliet @ debian said

    Let's see, if I use Fedora and commit the nonsense of putting Debian on it?

  23.   lawliet @ debian said

    The truth is that I do use Debian, thanks

  24.   dwarf said

    Testing

  25.   Ferran said

    test 1

  26.   Ferran said

    test 2

  27.   TUDz said

    Testing

  28.   TUDz said

    Test 2

  29.   TUDz said

    Test 3

  30.   Blitzkrieg said

    Prueba 1

    1.    Blitzkrieg said

      Prueba 2

    2.    Blitzkrieg said

      Prueba 3

  31.   lawliet said

    Very interesting

  32.   Wisp said

    It's very good.

  33.   cat said

    testing…

    1.    cat said

      tasting with manjaro ...

  34.   Juan said

    Testing…

  35.   snack said

    testing …

  36.   anubis_linux said

    testing….

    1.    anubis_linux said

      I don't prick

      1.    anubis_linux said

        last test

  37.   testing said

    testing…

  38.   testing said

    does not grab ...

  39.   testing said

    last

  40.   testing said

    already??

  41.   testing said

    🙁

  42.   testing said

    to have…

  43.   testing said

    and the environment ?? to have

  44.   Wisp said

    1

  45.   Wisp said

    2

  46.   Wisp said

    3

  47.   Wisp said

    4

  48.   Leper_Ivan said

    Testing

    1.    Leper_Ivan said

      Perfect!

  49.   edo said

    testing!!!

    1.    edo said

      Excellent!!

      1.    edo said

        again (I'll keep commenting until it works for me to show kde)

        1.    edo said

          It works now. Thanks for the input

  50.   Ghermain said

    Well, I was trying and it is very cumbersome; today I am lazy to touch so I leave it for another day. 🙁

  51.   pandev92 said

    Testing user agent xdd ..

    1.    pandev92 said

      retesting: 0

      1.    pandev92 said

        nanai, the user agent xd does not detect me

  52.   pandev92 said

    LET'S SEE if you can look at it .., it doesn't detect the funtoo linux XD user agent

  53.   TUDz said

    testing.

  54.   Jonathan said

    Testing again, ha

  55.   TUDz said

    Test

  56.   TUDz said

    yikk

  57.   Wayne7 said

    Teestiiiing ~~

  58.   kugal said

    Let's see…

  59.   jamin samuel said

    testiing ...

  60.   jamin samuel said

    for some strange reason when I activate this extension it does not open Gmail

    what a mess

  61.   3rn3st0 said

    I did this for Firefox, now let's see if it works with Chrome :)

  62.   3rn3st0 said

    Excellent, it changed everything, the OS and the Window Manager, hehehehe 😀

  63.   scraf23 said

    I always come back to reconfigure it, I forget xD

  64.   rogergm70 said

    Testing…

  65.   rogergm70 said

    Testing ... eOS

  66.   rogergm70 said

    Keeping testing ...

  67.   rogergm70 said

    WindowsPhones!

  68.   Ivan said

    Thanks for your post it is super clear and it was very helpful

  69.   JP said

    Testing in openSUSE

    1.    JP said

      second try again