fix mixed content

This commit is contained in:
Jörg Thalheim 2016-11-09 21:30:48 +01:00
parent 236555c6ed
commit b5b2c751b1
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
4 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.higgsboson.tk/" : "http://piwik.higgsboson.tk/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
var pkBaseURL = (window.location.indexOf("https://") == 0 ? "https://piwik.higgsboson.tk/" : "http://piwik.higgsboson.tk/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);

View File

@ -5,7 +5,7 @@
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */

View File

@ -5,7 +5,7 @@
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */

View File

@ -5,7 +5,7 @@
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */