How to Include CSS and JS files via HTTPS when needed?

Posted by nute on Stack Overflow See other posts from Stack Overflow or by nute
Published on 2010-04-27T22:08:48Z Indexed on 2010/04/27 22:13 UTC
Read the original article Hit count: 576

Filed under:
|
|
|

I am adding an external CSS file and an external JS file to my headers and footers. When loading an HTTPS page, some browsers complain that I am loading unsecured content.

Is there an easy way to make the browser load the external content via HTTPS when the page itself is HTTPS?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css