0 Replies Latest reply on Apr 7, 2017 3:34 AM by Quinni

    Fighting Mixed Content - Issues & Solutions

    Quinni Level 1

      Hi there, as i am now running my page with SSL i get a mixed content error. And as the thrid party widgets are exported as http rather https i get the trouble.


      As .mulibs cant be modified always when i do an export with muse i upload a html with scripts pointing to insecure source. And i doubt that the WidgetDevelopers will now change the widget just for me i need to find a solution.


      So i have 2 Widgets.


      One from Musegrid (they serve https - but Widget export http)

      One from creativated - They do not have https


      So the solution right now is Search for Strings and rewrite.


      For Musegrid i simply search for http://musegrid and rewrite to https://musegrid

      For Creativated they point to an CSS File and don't serve https i copy and upload with muse the CSS. Meaning rewite the path


      http://www.musegain.com becomes https://www.musegain.com

      http://creativated.com/Animated_Hamburger_Widget/style.css becomes assets/hamburger.css


      So I created the php file which will also being uploaded at /assets/


      How to automatically execute?




      So I added a Script to execute the php file at /assets/


          <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

          <script type="text/javascript" language="javascript">

              $.get("assets/doit.php", function( json ) {

                var data = JSON.parse(json);

                if (data['changed']) {







      But its not running.

      When i go to domain.com/assets/doit.php it works.

      But when placed that code at the index.html its not been executed. :-(