For one of my projects, I need to load the google closure library:
<script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"></script>
But I am getting:
[blocked] The page at http://xxx/index.html ran insecure content from http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js.
How can I use the google closure library in my project?
If your site is running on HTTPS, then you need to access the Google Closure Library via HTTPS as well. Try using a protocol-relative link to keep your site's protocol usage consistent with the way it retrieves the Google Closure code.
<script src="//closure-library.googlecode.com/svn/trunk/closure/goog/base.js""></script>