Re:IE6 is dead
by toxican on Tuesday April 08, 2014 @08:37AM
(#7552952)
what's the benefit of excluding the http:? I'd never seen that prior to a few years ago when the jQuery links started doing it.
[ Parent
| on HN ]
It's a protocol relative link. So if the page is served over http, it'll be an http link, and if the page is served over https, it'll be an https link. See http://en.wikipedia.org/wiki/Protocol_relative_URL#Protocol-...
And it breaks unexpectedly (and sometimes hilariously) when people use it in html email, it turns into a file:// "link".
You can't have external css or js in an html email. [1] Are you talking about links? Or image tags?
[1] Well you can, but no one will fetch them.
The browser will load the resource from whatever protocol the current page is loaded from. So if the page is on https, the URL will be accessed as https, otherwise as http.
Re:IE6 is dead
by thefreeman on Tuesday April 08, 2014 @09:32AM
(#7553245)
dagga, FYI, you are hellbanned. I am not sure why, your comments look reasonable. I would email a staff member or create a new account.