September 4, 2008

Add your church site search to your Chrome home page

Reading Time: 2 minutes

One of the most talked about features of Google Chrome is the rather innovative home page.  It shows your nine most often viewed sites, along with some goodies along the sidebar.  The sidebar can include quick-search boxes for sites you often search.  As often as I’m searching our church site, I thought it’d be great to have it listed there but I couldn’t make it show up.  After a bit of tweaking, I got it to work.  Here’s what I did.

First, it’ll help if you have a true on-site search of some kind. From what I can tell, there’s no way to add search boxes if you use the Google custom search on your site.  If you find a way around that, let us know.

As for our site, it only took a couple of very small changes:

  • The search needs to produce a GET request, not a POST request.  The difference is that a GET request will put your search term in the URL, which is critical to make this work.
  • You may need to change your search string variable. I noticed that most sites use “s=whatever” when you search, so I changed ours to that to help Chrome easily figure out what we were doing.
  • That’s it!
As for getting it onto the sidebar, here is the two-step process that tends to work.  Try it with our church site if you want.
  1. Perform a search on the site, just like you normally would.
  2. After that Google should recognize that it’s a search and give you a new shortcut.  Start typing the URL of the site in the address bar at the top (“M-T-B-E-T…”).
  3. After a few letters, a small bit of text should appear on the side that says “Press [tab] to search mtbethel.org”.  Go ahead and press [tab] and search for something.
  4. Done!
You should now have a quick-search box for our site on your Chrome start page.  There’s no way to manually remove it, but it will go away by itself after a while.  There seems to be a limit of three search boxes on your page, so if you have three already you may need to repeat step #3 (the [tab] search) a few times to encourage Chrome to replace one of the other ones.
That’s it!  Chome even uses your favicon to dress it up, and they look very nice.  If you have any questions or problems, please let us know in the comments below.

Comments

Related Posts

Good headlines are a courtesy

Reading Time: 2 minutesWith most things related to business, a “yes” is what you’re really going after but a “no” isn’t bad either. Better to hear “no” today…

Read More

SKUs per square foot

Reading Time: < 1 minuteIn the books that I read, Costco tends to come up a lot. They’ve grown slowly and steadily for decades, and they’re a business that…

Read More

Elon Musk is William Shockley

Reading Time: 2 minutesIf you’re familiar with the history of computing, you’ve probably heard the name William Shockley. Shockley was a brilliant man and helped make computing today…

Read More