How to change useragent of default Ubuntu Web browser?












0















If it possible, how to change/substitute of user-agent for default Ubuntu GNOME Web browser?



enter image description here










share|improve this question



























    0















    If it possible, how to change/substitute of user-agent for default Ubuntu GNOME Web browser?



    enter image description here










    share|improve this question

























      0












      0








      0








      If it possible, how to change/substitute of user-agent for default Ubuntu GNOME Web browser?



      enter image description here










      share|improve this question














      If it possible, how to change/substitute of user-agent for default Ubuntu GNOME Web browser?



      enter image description here







      18.04 gnome-shell webbrowser-app






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 9 at 21:37









      maturemature

      2,1103931




      2,1103931






















          1 Answer
          1






          active

          oldest

          votes


















          0














          1-st way (GUI):




          1. Installing dconf Editor:


          sudo apt update
          sudo apt install dconf-editor -y



          1. Run it:


          $ dconf-editor



          1. Go to:


          /org/gnome/epiphany/web/user-agent



          1. Switch Use default value to OFF


          2. Insert Your custom user-agent string to Custom value field.



          enter image description here




          1. Close dconf Editor.


          2. Chaeck Your user-agent with link: https://www.whatismybrowser.com/detect/what-is-my-user-agent



          2-nd way (Command-line):




          1. To set use this command and replace YOUR_CUSTOM_USER_AGENT to your value:


          gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'YOUR_CUSTOM_USER_AGENT'


          For Example:



          gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36'



          1. To check current user-agent value use command:


          gsettings get org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent



          1. To revert to the default user-agent:


          gsettings reset org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent


          Result:



          enter image description here






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124398%2fhow-to-change-useragent-of-default-ubuntu-web-browser%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            1-st way (GUI):




            1. Installing dconf Editor:


            sudo apt update
            sudo apt install dconf-editor -y



            1. Run it:


            $ dconf-editor



            1. Go to:


            /org/gnome/epiphany/web/user-agent



            1. Switch Use default value to OFF


            2. Insert Your custom user-agent string to Custom value field.



            enter image description here




            1. Close dconf Editor.


            2. Chaeck Your user-agent with link: https://www.whatismybrowser.com/detect/what-is-my-user-agent



            2-nd way (Command-line):




            1. To set use this command and replace YOUR_CUSTOM_USER_AGENT to your value:


            gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'YOUR_CUSTOM_USER_AGENT'


            For Example:



            gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36'



            1. To check current user-agent value use command:


            gsettings get org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent



            1. To revert to the default user-agent:


            gsettings reset org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent


            Result:



            enter image description here






            share|improve this answer




























              0














              1-st way (GUI):




              1. Installing dconf Editor:


              sudo apt update
              sudo apt install dconf-editor -y



              1. Run it:


              $ dconf-editor



              1. Go to:


              /org/gnome/epiphany/web/user-agent



              1. Switch Use default value to OFF


              2. Insert Your custom user-agent string to Custom value field.



              enter image description here




              1. Close dconf Editor.


              2. Chaeck Your user-agent with link: https://www.whatismybrowser.com/detect/what-is-my-user-agent



              2-nd way (Command-line):




              1. To set use this command and replace YOUR_CUSTOM_USER_AGENT to your value:


              gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'YOUR_CUSTOM_USER_AGENT'


              For Example:



              gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36'



              1. To check current user-agent value use command:


              gsettings get org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent



              1. To revert to the default user-agent:


              gsettings reset org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent


              Result:



              enter image description here






              share|improve this answer


























                0












                0








                0







                1-st way (GUI):




                1. Installing dconf Editor:


                sudo apt update
                sudo apt install dconf-editor -y



                1. Run it:


                $ dconf-editor



                1. Go to:


                /org/gnome/epiphany/web/user-agent



                1. Switch Use default value to OFF


                2. Insert Your custom user-agent string to Custom value field.



                enter image description here




                1. Close dconf Editor.


                2. Chaeck Your user-agent with link: https://www.whatismybrowser.com/detect/what-is-my-user-agent



                2-nd way (Command-line):




                1. To set use this command and replace YOUR_CUSTOM_USER_AGENT to your value:


                gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'YOUR_CUSTOM_USER_AGENT'


                For Example:



                gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36'



                1. To check current user-agent value use command:


                gsettings get org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent



                1. To revert to the default user-agent:


                gsettings reset org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent


                Result:



                enter image description here






                share|improve this answer













                1-st way (GUI):




                1. Installing dconf Editor:


                sudo apt update
                sudo apt install dconf-editor -y



                1. Run it:


                $ dconf-editor



                1. Go to:


                /org/gnome/epiphany/web/user-agent



                1. Switch Use default value to OFF


                2. Insert Your custom user-agent string to Custom value field.



                enter image description here




                1. Close dconf Editor.


                2. Chaeck Your user-agent with link: https://www.whatismybrowser.com/detect/what-is-my-user-agent



                2-nd way (Command-line):




                1. To set use this command and replace YOUR_CUSTOM_USER_AGENT to your value:


                gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'YOUR_CUSTOM_USER_AGENT'


                For Example:



                gsettings set org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36'



                1. To check current user-agent value use command:


                gsettings get org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent



                1. To revert to the default user-agent:


                gsettings reset org.gnome.Epiphany.web:/org/gnome/epiphany/web/ user-agent


                Result:



                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 9 hours ago









                maturemature

                2,1103931




                2,1103931






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124398%2fhow-to-change-useragent-of-default-ubuntu-web-browser%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Category:香港粉麵

                    List *all* the tuples!

                    Channel [V]