Script uses http and Shopify needs encryption

Solved
peterchic
Excursionist
14 0 15

Hello,

I wanted to add some functionality to my text. I found a script that relies on jquery and I added that to my theme.liquid file. It was working well, but then Shopify gave me an alert that the script was not fully secure. It was only http.

Is there any way to solve this issue?

 

Here is the script:

<script type="text/javascript" src="http://tester3.yolasite.com/resources/javascript/jtruncate.js"></script>

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 238

This is an accepted solution.

Best practices would dictate that all sites, references, etc. within your page code implement SSL and therefore employ HTTPS. Figure using free services like Let's Encrypt and whatnot makes it pretty quick and easy to get an SSL cert if need be, if it's a resource you control. If it's a resource you don't manage, then the provider should be able to offer an SSL endpoint to link to.