Jump to content

Error Console


Recommended Posts

you've got this error code because  new browsers (chrome, firefox) don't allow to use mixed content.

it mean, that if your website is using https protocol - browser cant load content from http protocol

 

the same if your website use http protocol - it can load contents from https protocol.

 

this is the weirdest thing in modern browsers.

Link to comment
Share on other sites

Html box pro with this cose :

<meta name="google-translate-customization" content="e0bde3a370929c37-a2d17f6653ae1ec0-g8aacd4ad88d54997-18"></meta>

<div id="google_translate_element" style="float:right;"></div>

<script type="text/javascript">
function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'it', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false, multilanguagePage: true, gaTrack: true, gaId: 'UA-XXXXX-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Edited by Totti (see edit history)
Link to comment
Share on other sites

i've noticed in your source:
 

<link type="text/css" rel="stylesheet" charset="UTF-8" href="https://translate.googleapis.com/translate_static/css/translateelement.css" data-inprogress="">
<script type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/translate_static/js/element/main_pl.js"></script>
<script type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/translate_static/js/element/19/element_main.js"></script>
<script id="facebook-jssdk" async="" src="//connect.facebook.net/it_IT/all.js"></script>

how it is attached to <header> section?

Link to comment
Share on other sites

i've noticed in your source:

 

<link type="text/css" rel="stylesheet" charset="UTF-8" href="https://translate.googleapis.com/translate_static/css/translateelement.css" data-inprogress="">
<script type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/translate_static/js/element/main_pl.js"></script>
<script type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/translate_static/js/element/19/element_main.js"></script>
<script id="facebook-jssdk" async="" src="//connect.facebook.net/it_IT/all.js"></script>

how it is attached to <header> section?

No, Top section.

Link to comment
Share on other sites

so if you are able to change urls there, change them to:

 

//translate.googleapis.com/translate_static/css/translateelement.css

//translate.googleapis.com/translate_static/js/element/main_pl.js

//translate.googleapis.com/translate_static/js/element/19/element_main.js

Link to comment
Share on other sites

so if you are able to change urls there, change them to:

 

//translate.googleapis.com/translate_static/css/translateelement.css

//translate.googleapis.com/translate_static/js/element/main_pl.js

//translate.googleapis.com/translate_static/js/element/19/element_main.js

<meta name="google-translate-customization" content="e0bde3a370929c37-a2d17f6653ae1ec0-g8aacd4ad88d54997-18"></meta>

<div id="google_translate_element" style="float:right;"></div>

<script type="text/javascript">
function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'it', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false, multilanguagePage: true, gaTrack: true, gaId: 'UA-35253754-1'}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
 
Actually in your form I inserted this code only.

Then I think the script to create the rest.

Link to comment
Share on other sites

×
×
  • Create New...