So, I was going through Stack Overflow, answering some questions, when I came across something interesting I didn’t know before.
Is perfectly valid (assuming we’re on a web server and NOT on a local file system). It will call the script in question by the protocol (HTTP or HTTPS) to match the protocol of the current page.
So simple and yet so awesome.
Learn something new every day.