Remove deleted javascript from body

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
2
down vote

favorite












I deleted the file in my ftp but it is still being loaded on every page at the end of the body tag



<script type="text/javascript" id="cookieinfo"
src="/media/js/cookieinfo.min.js">
</script>


Would the method to removing it be placing this text in the page.xml file?



<cms_index_index>
<reference name="head">
<action method="removeItem"><script>media/js/cookieinfo.min.js</script></action>
</reference>
</cms_index_index>






share|improve this question




























    up vote
    2
    down vote

    favorite












    I deleted the file in my ftp but it is still being loaded on every page at the end of the body tag



    <script type="text/javascript" id="cookieinfo"
    src="/media/js/cookieinfo.min.js">
    </script>


    Would the method to removing it be placing this text in the page.xml file?



    <cms_index_index>
    <reference name="head">
    <action method="removeItem"><script>media/js/cookieinfo.min.js</script></action>
    </reference>
    </cms_index_index>






    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I deleted the file in my ftp but it is still being loaded on every page at the end of the body tag



      <script type="text/javascript" id="cookieinfo"
      src="/media/js/cookieinfo.min.js">
      </script>


      Would the method to removing it be placing this text in the page.xml file?



      <cms_index_index>
      <reference name="head">
      <action method="removeItem"><script>media/js/cookieinfo.min.js</script></action>
      </reference>
      </cms_index_index>






      share|improve this question














      I deleted the file in my ftp but it is still being loaded on every page at the end of the body tag



      <script type="text/javascript" id="cookieinfo"
      src="/media/js/cookieinfo.min.js">
      </script>


      Would the method to removing it be placing this text in the page.xml file?



      <cms_index_index>
      <reference name="head">
      <action method="removeItem"><script>media/js/cookieinfo.min.js</script></action>
      </reference>
      </cms_index_index>








      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 3 at 8:01









      Prince

      6,1792932




      6,1792932










      asked Sep 3 at 7:41









      John

      464




      464




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          1
          down vote














          1. If your js file is in : root/js/, use this:



            <action method="removeItem"><type>js</type><name>file.js</name></action>



          2. If your js file is in : skin/frontend/package/theme/js/, use this :



            <action method="removeItem"><type>skin_js</type><name>file.js</name></action>


          3. Clean cache, then it should work






          share|improve this answer



























            up vote
            1
            down vote













            if you want delete that js file from entire page in your website, try to place this code in your local.xml, if the local.xml file still does not exist you can create it in the this folder :



            <project_root>/app/design/frontend/<your_theme>/layout/local.xml


            and then write this code in your local.xml



            <?xml version="1.0"?>
            <layout>
            <default>
            <reference name="head">
            <action method="removeItem">
            <type>js</type>
            <name>media/js/cookieinfo.min.js</name>
            </action>
            </reference>
            </default>
            </layout>


            you can reference to this link for detail answer :



            Js file is not removed from xml






            share|improve this answer



























              up vote
              0
              down vote













              Perhaps I phrased the question incorrectly. Still new at Magento. My solution was that I had forgotten the script was still in the System>Configuration>Design>Footer in the Miscellaneous HTML block. That's what was generating a 404.






              share|improve this answer




















                Your Answer







                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "479"
                ;
                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',
                convertImagesToLinks: false,
                noModals: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                 

                draft saved


                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240569%2fremove-deleted-javascript-from-body%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                1
                down vote














                1. If your js file is in : root/js/, use this:



                  <action method="removeItem"><type>js</type><name>file.js</name></action>



                2. If your js file is in : skin/frontend/package/theme/js/, use this :



                  <action method="removeItem"><type>skin_js</type><name>file.js</name></action>


                3. Clean cache, then it should work






                share|improve this answer
























                  up vote
                  1
                  down vote














                  1. If your js file is in : root/js/, use this:



                    <action method="removeItem"><type>js</type><name>file.js</name></action>



                  2. If your js file is in : skin/frontend/package/theme/js/, use this :



                    <action method="removeItem"><type>skin_js</type><name>file.js</name></action>


                  3. Clean cache, then it should work






                  share|improve this answer






















                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote










                    1. If your js file is in : root/js/, use this:



                      <action method="removeItem"><type>js</type><name>file.js</name></action>



                    2. If your js file is in : skin/frontend/package/theme/js/, use this :



                      <action method="removeItem"><type>skin_js</type><name>file.js</name></action>


                    3. Clean cache, then it should work






                    share|improve this answer













                    1. If your js file is in : root/js/, use this:



                      <action method="removeItem"><type>js</type><name>file.js</name></action>



                    2. If your js file is in : skin/frontend/package/theme/js/, use this :



                      <action method="removeItem"><type>skin_js</type><name>file.js</name></action>


                    3. Clean cache, then it should work







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 3 at 8:05









                    Prince

                    6,1792932




                    6,1792932






















                        up vote
                        1
                        down vote













                        if you want delete that js file from entire page in your website, try to place this code in your local.xml, if the local.xml file still does not exist you can create it in the this folder :



                        <project_root>/app/design/frontend/<your_theme>/layout/local.xml


                        and then write this code in your local.xml



                        <?xml version="1.0"?>
                        <layout>
                        <default>
                        <reference name="head">
                        <action method="removeItem">
                        <type>js</type>
                        <name>media/js/cookieinfo.min.js</name>
                        </action>
                        </reference>
                        </default>
                        </layout>


                        you can reference to this link for detail answer :



                        Js file is not removed from xml






                        share|improve this answer
























                          up vote
                          1
                          down vote













                          if you want delete that js file from entire page in your website, try to place this code in your local.xml, if the local.xml file still does not exist you can create it in the this folder :



                          <project_root>/app/design/frontend/<your_theme>/layout/local.xml


                          and then write this code in your local.xml



                          <?xml version="1.0"?>
                          <layout>
                          <default>
                          <reference name="head">
                          <action method="removeItem">
                          <type>js</type>
                          <name>media/js/cookieinfo.min.js</name>
                          </action>
                          </reference>
                          </default>
                          </layout>


                          you can reference to this link for detail answer :



                          Js file is not removed from xml






                          share|improve this answer






















                            up vote
                            1
                            down vote










                            up vote
                            1
                            down vote









                            if you want delete that js file from entire page in your website, try to place this code in your local.xml, if the local.xml file still does not exist you can create it in the this folder :



                            <project_root>/app/design/frontend/<your_theme>/layout/local.xml


                            and then write this code in your local.xml



                            <?xml version="1.0"?>
                            <layout>
                            <default>
                            <reference name="head">
                            <action method="removeItem">
                            <type>js</type>
                            <name>media/js/cookieinfo.min.js</name>
                            </action>
                            </reference>
                            </default>
                            </layout>


                            you can reference to this link for detail answer :



                            Js file is not removed from xml






                            share|improve this answer












                            if you want delete that js file from entire page in your website, try to place this code in your local.xml, if the local.xml file still does not exist you can create it in the this folder :



                            <project_root>/app/design/frontend/<your_theme>/layout/local.xml


                            and then write this code in your local.xml



                            <?xml version="1.0"?>
                            <layout>
                            <default>
                            <reference name="head">
                            <action method="removeItem">
                            <type>js</type>
                            <name>media/js/cookieinfo.min.js</name>
                            </action>
                            </reference>
                            </default>
                            </layout>


                            you can reference to this link for detail answer :



                            Js file is not removed from xml







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 3 at 8:10









                            mrfizh

                            1781220




                            1781220




















                                up vote
                                0
                                down vote













                                Perhaps I phrased the question incorrectly. Still new at Magento. My solution was that I had forgotten the script was still in the System>Configuration>Design>Footer in the Miscellaneous HTML block. That's what was generating a 404.






                                share|improve this answer
























                                  up vote
                                  0
                                  down vote













                                  Perhaps I phrased the question incorrectly. Still new at Magento. My solution was that I had forgotten the script was still in the System>Configuration>Design>Footer in the Miscellaneous HTML block. That's what was generating a 404.






                                  share|improve this answer






















                                    up vote
                                    0
                                    down vote










                                    up vote
                                    0
                                    down vote









                                    Perhaps I phrased the question incorrectly. Still new at Magento. My solution was that I had forgotten the script was still in the System>Configuration>Design>Footer in the Miscellaneous HTML block. That's what was generating a 404.






                                    share|improve this answer












                                    Perhaps I phrased the question incorrectly. Still new at Magento. My solution was that I had forgotten the script was still in the System>Configuration>Design>Footer in the Miscellaneous HTML block. That's what was generating a 404.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Sep 3 at 10:48









                                    John

                                    464




                                    464



























                                         

                                        draft saved


                                        draft discarded















































                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240569%2fremove-deleted-javascript-from-body%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Comments

                                        Popular posts from this blog

                                        Long meetings (6-7 hours a day): Being “babysat” by supervisor

                                        Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                                        Confectionery