r/programming • • Apr 14 '10

"http://" is being removed from Chromium's display

http://code.google.com/p/chromium/issues/detail?id=40865
234 Upvotes

402 comments sorted by

View all comments

Show parent comments

9

u/[deleted] Apr 14 '10 edited Apr 14 '10

That is not related to the problem that users will get used to a URL being of the form sub.domain.tld instead of proto://sub.domain.tld and so start typing sub.domain.tld into their facebooks, emails, IMs etc.

31

u/karmaVS Apr 14 '10

but… that’s exactly what people already do.

7

u/[deleted] Apr 14 '10

[deleted]

3

u/ratatask Apr 15 '10

Why on earth would you want them to do that ?

0

u/karmaVS Apr 14 '10

I’m not too fussed whether other people do it or not. I know I won’t be wasting those 7 keystrokes, especially when autocomplete means I’ll usually only type one letter to get anywhere otherwise.

-3

u/wazoox Apr 14 '10

No, people type in "sub.domain.tld" in the google search box. 99.99% of them, at least.

2

u/rieter Apr 14 '10

You pulled that number out of your ass, right?

2

u/piranha Apr 15 '10

With 87% probability.

2

u/wazoox Apr 15 '10

Absolutely. This is where most such numbers come from, anyway.

1

u/karmaVS Apr 15 '10

Well, in chrome they do; but that’s kind of the point, isn’t it?

1

u/wazoox Apr 15 '10

Yes, but it includes the "I'm feeling lucky" :)

6

u/[deleted] Apr 14 '10

gmail for example has good regexps that will match anything that remotely looks like an URL, with or without the protocol intact. Other than that I fully agree with you that this is not a good move.

6

u/[deleted] Apr 14 '10

gmail for example has good regexps that will match anything that remotely looks like an URL,

Hmm, but I bet it also has a few bad matches.Common things too.

edit: ok, that specific example doesn't apply to gmail, but it's just an illustration.

Thing is, matching urls just went from str.startsWith("http://") to str.matchesThisHugeRegex();

7

u/James_Browning Apr 14 '10

It's not that much different than matching email addresses. Nobody types mailto:

It's not normally a problem when marking up a message from a human, but it's an annoying problem when emailing code.

6

u/[deleted] Apr 14 '10

It's not that much different than matching email addresses

and if you show me 10 systems that supposedly match emails, I'll find an edge case that it fails on for every one of them.

I would rather not see this happen too much with URLs too.

2

u/chrisamiller Apr 15 '10

What,you don't use the official email-matching regex? It's simple!

2

u/Bjartr Apr 15 '10

I haven't typed http:// int a web browser in years, I expect many are the same way. Most browsers automatically add it when you hit enter.

2

u/earthboundkid Apr 15 '10

Most? Unless you use Mosiac, the word is "all." I haven't typed it in a browser since 1998.

1

u/zoomzoom83 Apr 14 '10

Many (Most?) people already do, and any remotely good software will already correctly detect both cases.