fix mixed content
This commit is contained in:
parent
236555c6ed
commit
b5b2c751b1
@ -1,7 +1,7 @@
|
|||||||
<!-- Piwik -->
|
<!-- Piwik -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.higgsboson.tk/" : "http://piwik.higgsboson.tk/");
|
var pkBaseURL = (window.location.indexOf("https://") == 0 ? "https://piwik.higgsboson.tk/" : "http://piwik.higgsboson.tk/");
|
||||||
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
|
document.write(unescape("%3Cscript src='" + pkBaseURL + "' type='text/javascript'%3E%3C/script%3E"));
|
||||||
</script><script type="text/javascript">
|
</script><script type="text/javascript">
|
||||||
try {
|
try {
|
||||||
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
|
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
||||||
s.type = 'text/javascript';
|
s.type = 'text/javascript';
|
||||||
s.async = true;
|
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);
|
t.parentNode.insertBefore(s, t);
|
||||||
})();
|
})();
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
||||||
s.type = 'text/javascript';
|
s.type = 'text/javascript';
|
||||||
s.async = true;
|
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);
|
t.parentNode.insertBefore(s, t);
|
||||||
})();
|
})();
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
||||||
s.type = 'text/javascript';
|
s.type = 'text/javascript';
|
||||||
s.async = true;
|
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);
|
t.parentNode.insertBefore(s, t);
|
||||||
})();
|
})();
|
||||||
/* ]]> */
|
/* ]]> */
|
||||||
|
Loading…
Reference in New Issue
Block a user