Hacker News new | ask | show | jobs
by dopeboy 3465 days ago
I thought the absence of the domain resulted in that behavior. Checked it out in JSBin [0] and well I'll be damned. Thanks for the explanation.

[0] - http://jsbin.com/mowacanuwa/edit?html

1 comments

Yeah, not having protocol is the problem. Now, you can also create links without the protocol part up to the colon, and the browser will autocomplete based on if you're visiting the website with or without SSL (HTTPS).

Here's a nice example (with a more complete explanation): http://jsbin.com/cexaqoviso/edit?html,output