9 ms·
`//www.google.com` will automatically translate the url to http/https depending on the requested protocol.
by tuxcanfly 16y ago
`//www.google.com` will automatically translate the url to http/https depending on the requested protocol.
- Matt_Cutts 16y agoYup, that way of doing it is protocol-agnostic.
- etherealG 16y agois this officially accepted syntax? does it work in all browsers? (I'd really love both these answers to be yes so I can start doing this on my sites)
- davidu 16y agoWhich is interesting since Google doesn't serve a 404 over HTTPS as far as I can tell.
- corin_ 16y agoBut they're clearly doing their best to minimise file size, and so using // cuts down on a few characters.
- windsurfer 16y agoWell maybe they will...?
- lancefisher 16y agoTry this: https://mail.google.com/asdfasdf https://mail.google.com/asdfasdf