Absolute URLs omitting the protocol (scheme) in order to preserve the one of the current page
问题 I saw the //somepage.com/resource url format. For example: <img src=\"//remotesite.com/image1.jpg\" /> The point of this is that if the current page (the page defining the img tag) is using http , then the request to the remote site is made via http. If it is https - it\'s https. This eliminates browser warnings of not fully encrypted pages. My question is - is this URL format safe to use for all browsers. And is it a standard? 回答1: is this URL format safe to use for all browsers. I can't say