Today I came across this:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
Which I think should be this:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
Can someone explain why all the CDN folks omit the http:
in their include snippets? CloudFlare does it too:
//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js
But why? Does even the dumbest browser get this or is it safer to just add http:
?