Title: detect https and eliminate external dependencies
Last modified: August 21, 2016

---

# detect https and eliminate external dependencies

 *  [peckjon](https://wordpress.org/support/users/peckjon/)
 * (@peckjon)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/detect-https/)
 * If a user accesses my site via HTTPS, the plugin still includes a non-HTTPS link
   to [http://shuttle.sharexy.com/LoaderLite.js](http://shuttle.sharexy.com/LoaderLite.js):
 * `<script type="text/javascript" src="http://shuttle.sharexy.com/LoaderLite.js"
   >`
 * This can cause a security warning on some browsers.
 * Suggested fix: detect HTTPS and use the URL [https://shuttle.sharexy.com/LoaderLite.js](https://shuttle.sharexy.com/LoaderLite.js)
 * MUCH BETTER, EASIER FIX: include LoaderLite.js in the Plugin files instead of
   using an external URL. This will decrease load on your server and decrease our
   risk (eg, if your site goes down or is hacked, the plugin could fail on our sites,
   or even harm our visitors).
 * Thanks,
    JP
 * [http://wordpress.org/plugins/sharexy/](http://wordpress.org/plugins/sharexy/)

The topic ‘detect https and eliminate external dependencies’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sharexy_8d9095.svg)
 * [Sharexy - Powerful Social Sharing Buttons](https://wordpress.org/plugins/sharexy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sharexy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sharexy/)
 * [Active Topics](https://wordpress.org/support/plugin/sharexy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sharexy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sharexy/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [external URL](https://wordpress.org/support/topic-tag/external-url/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [peckjon](https://wordpress.org/support/users/peckjon/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/detect-https/)
 * Status: not resolved