Answer the question
In order to leave comments, you need to log in
Where can I read about the link shorthand (without http:)?
Here are some examples to make it clear what I'm talking about:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
Answer the question
In order to leave comments, you need to log in
This is done in order to ensure that the remote resource is requested using the same protocol that is present on your site. So that there is no situation when everything is https, but a remote resource is requested via http, which, as it were, contradicts. Just a generic solution.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question