score:3

If you write your script like so:

<script src="//maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&sensor=false"></script>

The browser will load with the correct protocol. This goes for images as well. Then if the user comes from http, it will load http, https if https.


Related Query

More Query from same tag