How to Add Search Shortcuts to Google Chrome.

Last week Danny Sullivan twittered he was looking for a creative commons image to use. Christine Churchill poked a little fun at me wondering how I was able to get that so quickly. The trick is using search shortcuts, and I’m going to show you how to do it.

For my first example I’m going to set up a creative commons search for commercially licensed images on flickr (aka images you allowed to use on websites you make a profit on as long as you attribute them properly). Go the advanced search page on flickr, put in your query term and check the boxes creative commons, and commercial reuse.
10232009_103609 AM
10232009_103626 AM

Execute the search, and you’re result should look something like this:

10232009_103949 AM

Make sure it says for commercial use so you stay legal. By default flickr returns based on “relevant”, however I find the “interesting” setting gives better results so click that. Now look at the URl it should look something like this:

http://www.flickr.com/search/?q=magic+kingdom&l=comm&ss=0&ct=0&mt=all&adv=1&s=int

We could disect all of the parameters, but really all we need to identify is the “q=magic+kingdom” part. Highlight the URL and copy it to your clipboard using CTRL+C. Next click on the little wrench icon in your chrome toolbar, and choose options. Look for the area labeled “default search” and click manage.

10232009_104649 AM

next click the “add” button another dialog box will open

10232009_104911 AM

You need to enter a unique name (in this case flickr) into the box. If you enter the name of a search engine that already exists the green checkbox will turn into an orange exclamation point. Next enter the keyword, this is what you have to type in the address bar/omnibox to execute the search. It needs to be unique and the shorter you make it the easier it will be to type. Next you need to paste the search URL into the URL box. Once you do that you need to go back and remove the “q=magic+kingdom” and replace it with “q=%s”. By placing the %s we are telling the browser to replace %s with whatever term we type in. Click OK, and close out all the dialog boxes. Lets give it a test. Use CTRL+T to open a new tab, by default your cursor is now in the address/omni box. Type in the keyword shortcut (in this case “flickr” followed by the search term). Use a different term than the one you started with to make sure it working, but it should look something like this:

10232009_110017 AM

Hit the enter/return key and it should execute the search on flickr for the term “ford mustang” showing only creative commons images approved for commercial reuse, sorted by interestingness.

You can do this with any site the key is getting the right URL for the search, and replacing it with %s. Some sites will require special handling for multi-word terms, such as wikipedia. Here’s the URL for an image search in wikipedia for “ford mustang”

http://commons.wikimedia.org/wiki/Ford_Mustang

The problem is you don’t have the ability to tell chrome to replace the space with an underscore. However with a bit of URL experimentation and hacking this URL will work:

http://commons.wikimedia.org/w/index.php?title=Special:Search&search=ford mustang&go=Go

So repeat the steps above for flickr (naming it something different of course) replace the “ford mustang” with %s and you’re good to go. You aren’t limited to image searches you can do the same thing on any search engine as long as you can reverse engineer the URL querystring. There you have do quick and esy searches across almost any site.

photo credit: Flickr/M/vacuum sealer reviews

GraywolfSEO.com runs on the Genesis Framework

Genesis Framework

Genesis lets you to quickly and easily build amazing websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.
It's that simple - start using Genesis now!


Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.


tla starter kit

Advertisers:

  1. Text Link Ads - New customers can get $100 in free text links.
  2. BOTW.org - Get a premier listing in the internet's oldest directory.
  3. Need an SEO Audit for your website, look at my SEO Consulting Services
  4. TigerTech - Great Web Hosting service at a great price.
More in Google
Want an Editorially Approved Link Become a Google Partner

in this mornings post I chastised Google for giving straight links to partners, However now I've found a whole bunch...

Optimal Titles: SEO Case Study

SEO Case Study: Optimal Title Structure Experiment: To determine what the optimal structure is for a title soley for page...

Close