Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

What setting do I need to adjust or create to make the search in Google Chrome limit itself to a pre-defined set of websites?

For example, I want to search all the Stack Exchange sites (superuser.com, serverfault.com, stackoverflow.com, etc.) at once using the one query in the Google Chrome search bar.

How do I accomplish this?

share|improve this question

migrated from superuser.com Oct 14 '10 at 8:05

This question came from our site for computer enthusiasts and power users.

2  
Based on your reputation from other sites in the network, you should be able to get to 101 reputation by unlinking your account and then linking them back up. This should give you a 100 point reputation bonus. –  firedfly Oct 13 '10 at 21:04
    
Unfortunately this question might well be off topic for Super User, but on topic for Web Applications. –  ChrisF Oct 13 '10 at 21:24
add comment

3 Answers

up vote 9 down vote accepted

How to do this by setting up a custom search on Google Chrome:

1. Go to www.google.com

2. Do a search for +(site:stackexchange.com AND site:superuser.com AND site:stackoverflow.com) stuff) (Add in your other favorites to this list.)

3. Search. Copy the URL from the search results. It should look something like this:

(http://www.google.com/#sclient=psy&hl=en&q=%2B(%22site%3Ahttp%3A%2F%2Fstackoverflow.com%2F+OR+site%3Ahttp%3A%2F%2Fsuperuser.com%2F+OR+site%3Ahttp%3A%2F%2Fserverfault.com%2F+OR+site%3Ahttp%3A%2F%2Faskubuntu.com%2F)+**stuff**&aq=f&aqi=&aql=&oq=&gs_rfai=&pbx=1&fp=fd11ff3f5ad97304)

4. Now click the "wrench" icon in Chrome and go to Options > General options > Default search > Manage.

5. "Add new..." and enter name + keyword and paste in the above URL. (Ex: name:stack exchange, keyword:stacksearch)

6. Replace the word "stuff" with "%s".

7. Go to search bar and type in (keyword) + TAB. Search.

Voila! Stack exchange custom search!

Please post any better answers here, i imagine there's a plugin somewhere that can do this.

  • emf
share|improve this answer
2  
You could use: stackexchange.com/search?q=%s instead of the google url. –  firedfly Oct 13 '10 at 21:11
    
+1 holy, nice answer. You get my vote because this can be used on any set of websites. BTW, don't sign your answer we don't do that on these sites because your sig is already on the answer (ie. it's a waste of space and adds no value to the answer). –  Evan Plaice Dec 20 '11 at 20:54
add comment

The stackoverflow blog has a good post on this topic. The easiest way seems to be going to stackexchange.com and using the search box at the top of the page. It will search all stack exchange sites.

share|improve this answer
    
by using the search box do you mean importing that box into chrome directly, as you can do in opera by right clicking and choosing 'add search'? it doesn't seem so, in which case you haven't answered the question at all, but i'm new to this site hence can't downvote yet. –  ixtmixilix Oct 14 '10 at 1:05
    
When I answered the question, it was more open ended. I was answering how to search all the sites independent on the browser used. The question has since been refined to specify searching via Chrome's omnibar. –  firedfly Oct 14 '10 at 3:05
    
Poorly phrased question left some room for ambiguity, but yes. I was mostly posting this as an "I found a trick, would like to post this as a tip", planning to post my own answer to it. –  e.m.fields Oct 15 '10 at 16:03
add comment

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.