This is a problem when serving an https website. There are two options here:
The inconvenient of
// is that it doesn't work when the website is served from
On this topic @nbevans you said that
// ensures the best possible compatibility; in what situations would
https:// not be compatible?