Add-on script not loading via HTTPS


Well-known member
Hi folks,

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

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.

<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="//"></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.



Well-known member
The second URL is always redirected to a non-secure site. If you replace „“ with „“ it should work.


Well-known member
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. :)