In some of my e-commerce applications, I started using src="//domain.com/file.js" in cases where I needed to reference external scripts that I wanted to include. In my e-commerce applications, not all pages actually use https , since not every page has a form.
I am wondering if there are any drawbacks at all to always use this, since it is also a shortcut for http , and you can always avoid IE warning without protection.
javascript href hyperlink src
meder omuraliev
source share