Google Chrome - searching sites from the URL bar

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Google Chrome - searching sites from the URL bar

Post by greyhoundcode »

While using Google Chrome I noticed a behaviour I hadn't previously encountered: I typed in amazon.co.uk, accidentally hit tab and noticed that amazon.co.uk changed to become Search amazon.co.uk.

Quite a handy feature, though it doesn't work for every website - does anyone know anything further about enabling this or how it works?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Google Chrome - searching sites from the URL bar

Post by Benjamin »

I don't know if they document this stuff. I think they add these features ad-hoc based on user behaviour.
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Google Chrome - searching sites from the URL bar

Post by greyhoundcode »

Yeah I hadn't noticed it before, potentially quite a good shortcut though. What is interesting is that it uses Amazon's own search facility, rather than being an alternative of my favourite book and author site:amazon.co.uk.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Google Chrome - searching sites from the URL bar

Post by Weirdan »

Basically it works like this:
  • You type 'some search term' into some form field and send this form
  • If Chrome notices the 'some search term' string in the address bar right after you have sent the form, it adds that url as a search provider that you may use from address bar from now on
So after you browse for a while Chrome learns the sites you use and search on and provides quick shortcuts to their search pages, without requiring site owners to change anything on their sites (provided that they use 'GET' method in their search forms).
Post Reply