Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Safari on OS X, I can just type "cnn" & Safari will fill in the "www." & ".com". How do I get Chrome to do this?

** Edit ** Yes, I know about ctrl+enter, or in my case, Apple-Command+Enter. The point is to not have to do that. With Safari, I don't have to.

share|improve this question
1  
You've got to be clearer otherwise you do get so many dupe answers about something you apparently know about but people don't know you know, y'know? Also, are you talking about site you've never visited before? Details matter. –  random Mar 30 '11 at 4:05

4 Answers 4

up vote 6 down vote accepted

The Chrome Omnibar predicts web domains and web searches as you type into it. Once you've visited a site several times, it should start predicting that domain as you begin typing it.

Chrome Omnibar prediction

This is somewhat different from other browsers, which search your history for matching patterns (auto-complete). I think this is a trade-off, which makes Chrome more flexible, but increases the amount of time before it "remembers" your favorite sites.

share|improve this answer
    
Yes, I've seen that feature. I'm just finding the Safari auto-complete habit a hard one to break. I do not like being redirected to a Google search. –  churnd Mar 30 '11 at 4:01
1  
I remember a similar feeling when I switched from Firefox. But if you think about it, having your browser guess www and .com for you for domains you've never previously visited could be troublesome. There are more TLDs than just .com (even if it's the most common). –  briankb Mar 30 '11 at 4:10

In Chrome if you type what you want into the URL bar, then hold Ctrl and press Enter (Ctrl + Enter) it will add "www." and ".com".

E.g. Type superuser, hold Ctrl and press Enter. Chrome loads www.superuser.com

share|improve this answer

The best way of doing this natively is to define a 'New' search engine in the Preferences.

You can define a url to search with, and insert the string anywhere in this url using the '%s' variable. For example, if you set the url to be

http://%s.com

And set your new search engine to be the default, and it will then prefix add a http:// and append a .com to all address bar input that is not recognized as a valid URL.

share|improve this answer
    
That's pretty sneaky, but it would assume all URL's end in .com. It's close, though. :) –  churnd Mar 30 '11 at 4:04
    
heh this is true; but if you want something that will guess the second level domain, I don't think such a thing can be done. How will it handle www.test.com Vs. www.test.net? –  JT.WK Mar 30 '11 at 4:08

When you type something other than a URL in the address bar, Firefox performs a Google "I'm Feeling Lucky" search, which is why just typing in cnn will take you to http://www.cnn.com/ but typing in slashdot would take you to http://slashdot.org/, and typing in World War II will take you to the Wikipedia article on that subject. I wouldn't be surprised if Safari did something similar.

To get that behavior on Google Chrome, just change your default search provider to:

http://www.google.com/search?q=%s&btnI=I'm%20Feeling%20Lucky
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.