//there's no way to disable mixed content using javascript but you can add this tag //to your HTML to allow mixed content