Add-on script not loading via HTTPS

CrispinP

Well-known member
Hi folks,

I have an add-on which a user is having a problem with the js not loading via https:

https://veganforum.co.uk/usermap

There are not non-https calls on the page so the browser is happy.

I have two lines of code, the top one works fine, the bottom one does not.

Code:
<script type="text/javascript" src="//googlemaps.github.io/js-marker-clusterer/src/markerclusterer.js"></script>
<script type="text/javascript" src="//jawj.github.com/OverlappingMarkerSpiderfier/bin/oms.min.js"></script>

In chrome source, when clicking on the top one if loads via https but the bottom one loads via http. when forcing the bottom one to https it is happy.


I've got a few users using this and not had this problem before. Don't understand why it is happening.


thanks
Crispin
 
The second URL is always redirected to a non-secure site. If you replace „github.com“ with „github.io“ it should work.
 
Ah OK, thanks. But why when I explicitly say https it's OK?

I've resorted to keeping the file local - perhaps it's rude to link to guthub. :)
 
Top Bottom