How to use Google Chrome's “--disable-extension-except” command-line switch?












2















I am trying to use the --disable-extensions-except switch in the target of a Chrome shortcut I've created in order to have just one particular extension running on startup for debugging purposes, but I am not quite sure how to use the switch effectively.



I have tried:



"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsID"


and:



"C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsActualName"


but to no avail. I have recently got into actual command-line coding so I am not too sure on all the attributes and such although I am willing to learn more. I know I am missing some syntax.










share|improve this question





























    2















    I am trying to use the --disable-extensions-except switch in the target of a Chrome shortcut I've created in order to have just one particular extension running on startup for debugging purposes, but I am not quite sure how to use the switch effectively.



    I have tried:



    "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsID"


    and:



    "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsActualName"


    but to no avail. I have recently got into actual command-line coding so I am not too sure on all the attributes and such although I am willing to learn more. I know I am missing some syntax.










    share|improve this question



























      2












      2








      2


      1






      I am trying to use the --disable-extensions-except switch in the target of a Chrome shortcut I've created in order to have just one particular extension running on startup for debugging purposes, but I am not quite sure how to use the switch effectively.



      I have tried:



      "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsID"


      and:



      "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsActualName"


      but to no avail. I have recently got into actual command-line coding so I am not too sure on all the attributes and such although I am willing to learn more. I know I am missing some syntax.










      share|improve this question
















      I am trying to use the --disable-extensions-except switch in the target of a Chrome shortcut I've created in order to have just one particular extension running on startup for debugging purposes, but I am not quite sure how to use the switch effectively.



      I have tried:



      "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsID"


      and:



      "C:Program Files (x86)GoogleChromeApplicationchrome.exe" --disable-extensions-except "extensionsActualName"


      but to no avail. I have recently got into actual command-line coding so I am not too sure on all the attributes and such although I am willing to learn more. I know I am missing some syntax.







      windows-7 command-line google-chrome google-chrome-extensions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 5 '16 at 2:06









      Ben N

      29.6k1398145




      29.6k1398145










      asked Dec 4 '16 at 19:18









      iTechniiiTechnii

      1113




      1113






















          1 Answer
          1






          active

          oldest

          votes


















          1














          First, make sure you have the newest Chrome version; that switch is only implemented in Chrome 55 or higher.



          Next, and confusingly, it takes a path to the folder containing an unpacked extension. Neither an extension ID nor a human-readable name will do it. You'll find your installed Chrome extensions here:



          %LOCALAPPDATA%GoogleChromeUser DataDefaultExtensions


          Inside each folder (named with an extension ID), there is a version folder that has all the interesting stuff. That's the folder path you need. For example, for me, the uBlock Origin extension is unpacked here:



          C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0


          Once you have that path, pass it to Chrome like this:



          chrome --disable-extensions-except="C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0"


          Replace chrome with the full path to the Chrome EXE, as you have. Note the = between the switch name and its value.



          Alternatively, if you have an extension you're developing, you can just use the path to the folder that contains its manifest.json instead of poking around in Chrome's folders.



          You'll get a warning when Chrome starts about running developer-mode extensions, but that's OK.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1152864%2fhow-to-use-google-chromes-disable-extension-except-command-line-switch%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









            1














            First, make sure you have the newest Chrome version; that switch is only implemented in Chrome 55 or higher.



            Next, and confusingly, it takes a path to the folder containing an unpacked extension. Neither an extension ID nor a human-readable name will do it. You'll find your installed Chrome extensions here:



            %LOCALAPPDATA%GoogleChromeUser DataDefaultExtensions


            Inside each folder (named with an extension ID), there is a version folder that has all the interesting stuff. That's the folder path you need. For example, for me, the uBlock Origin extension is unpacked here:



            C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0


            Once you have that path, pass it to Chrome like this:



            chrome --disable-extensions-except="C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0"


            Replace chrome with the full path to the Chrome EXE, as you have. Note the = between the switch name and its value.



            Alternatively, if you have an extension you're developing, you can just use the path to the folder that contains its manifest.json instead of poking around in Chrome's folders.



            You'll get a warning when Chrome starts about running developer-mode extensions, but that's OK.






            share|improve this answer






























              1














              First, make sure you have the newest Chrome version; that switch is only implemented in Chrome 55 or higher.



              Next, and confusingly, it takes a path to the folder containing an unpacked extension. Neither an extension ID nor a human-readable name will do it. You'll find your installed Chrome extensions here:



              %LOCALAPPDATA%GoogleChromeUser DataDefaultExtensions


              Inside each folder (named with an extension ID), there is a version folder that has all the interesting stuff. That's the folder path you need. For example, for me, the uBlock Origin extension is unpacked here:



              C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0


              Once you have that path, pass it to Chrome like this:



              chrome --disable-extensions-except="C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0"


              Replace chrome with the full path to the Chrome EXE, as you have. Note the = between the switch name and its value.



              Alternatively, if you have an extension you're developing, you can just use the path to the folder that contains its manifest.json instead of poking around in Chrome's folders.



              You'll get a warning when Chrome starts about running developer-mode extensions, but that's OK.






              share|improve this answer




























                1












                1








                1







                First, make sure you have the newest Chrome version; that switch is only implemented in Chrome 55 or higher.



                Next, and confusingly, it takes a path to the folder containing an unpacked extension. Neither an extension ID nor a human-readable name will do it. You'll find your installed Chrome extensions here:



                %LOCALAPPDATA%GoogleChromeUser DataDefaultExtensions


                Inside each folder (named with an extension ID), there is a version folder that has all the interesting stuff. That's the folder path you need. For example, for me, the uBlock Origin extension is unpacked here:



                C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0


                Once you have that path, pass it to Chrome like this:



                chrome --disable-extensions-except="C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0"


                Replace chrome with the full path to the Chrome EXE, as you have. Note the = between the switch name and its value.



                Alternatively, if you have an extension you're developing, you can just use the path to the folder that contains its manifest.json instead of poking around in Chrome's folders.



                You'll get a warning when Chrome starts about running developer-mode extensions, but that's OK.






                share|improve this answer















                First, make sure you have the newest Chrome version; that switch is only implemented in Chrome 55 or higher.



                Next, and confusingly, it takes a path to the folder containing an unpacked extension. Neither an extension ID nor a human-readable name will do it. You'll find your installed Chrome extensions here:



                %LOCALAPPDATA%GoogleChromeUser DataDefaultExtensions


                Inside each folder (named with an extension ID), there is a version folder that has all the interesting stuff. That's the folder path you need. For example, for me, the uBlock Origin extension is unpacked here:



                C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0


                Once you have that path, pass it to Chrome like this:



                chrome --disable-extensions-except="C:UsersBenAppDataLocalGoogleChromeUser DataDefaultExtensionscjpalhdlnbpafiamejdnhcphjbkeiagm1.10.0_0"


                Replace chrome with the full path to the Chrome EXE, as you have. Note the = between the switch name and its value.



                Alternatively, if you have an extension you're developing, you can just use the path to the folder that contains its manifest.json instead of poking around in Chrome's folders.



                You'll get a warning when Chrome starts about running developer-mode extensions, but that's OK.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 5 '16 at 2:07

























                answered Dec 5 '16 at 1:49









                Ben NBen N

                29.6k1398145




                29.6k1398145






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1152864%2fhow-to-use-google-chromes-disable-extension-except-command-line-switch%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕