Custom Firefox search shortcuts

A Tech article with View Comments posted 2 October 2006.
Tags: , ,

I’ve come across a little trick that isn’t complicated at all, but saves me a ton of time searching through CPAN. You can add a custom search shortcut that allows you to skip typing search.cpan.org, then typing your search term, replacing it with something as simple as p Search::Term in the address bar.

To do this, first do a search on the site you’re interested in and bookmark the results. Then open the Bookmark Manager and click properties for the new bookmark.

Custom search shortcut for CPAN

You’ll need to change two things. First, add the keyword that you want to use. In my case, I chose p to stand for perl, but you can pick any letter or phrase you want. Then replace your search term in the bookmarked address (highlighted) with %s. Save the bookmark, and enjoy your new shortcut!

You might also enjoy:

  1. Horizon Information Portal Search Shortcut
  2. Why Church search engine optimization (SEO) is more important now than ever
  3. Strangest Search Engine
  4. Using next_successor with Graph::Traversal
  5. My first CPAN acknowledgement

  • You can also add a keyword (i.e. make quick searches) by right-clicking the form box you'd enter your query words into and choosing "Add a keyword for this search..."

    This essentially just automatically places %s as the search term and open the bookmark popup.

    Lifehacker has a couple of good articles that explain some neat details and provide a good set of useful (downloadable?) quick searches.
  • Yep, we're an all-Ubuntu household. The only Windows machine I still have is a homemade picture frame PC made out of an old Compaq laptop. It runs Windows 98SE, but only because I haven't gotten around to Ubuntu-ing it.
  • Thanks for the tip, Ted. And, btw I noticed you're using Ubuntu in those screenshots, right?

    Ubuntu FTW!
blog comments powered by Disqus