Woah it's been a long time since I last blogged. Busy times. So here you go with a casual Firefox tip:

One of my favorite "hidden" features in Firefox are "smart keywords". Essentially, you write a keyword + a phrase into the URL bar, and it'll issue a search on the site corresponding to this keyword.

For example, I enter "wp elephants" and it takes me to the Wikipedia page on Elephants, rather than searching Google for the phrase. Neat!

There is a great Firefox Support article on how to add you own keywords. Essentially you right-click on a search box on your favorite website and click "Add a keyword for this search":

add a search keyword

Here are the keywords I have added (I linked them to the search they represent, respectively):

  • bug: Searches bugzilla.mozilla.org (bug 12345, for example)
  • leo: Searches dict.leo.org (a German-English dictionary)
  • leofr: Searches the French version of dict.leo.org
  • wp: Searches Wikipedia in English
  • dewp: Searches Wikipedia in German
  • imdb: Searches the IMDB movie database
  • slang: Searches UrbanDictionary for English slang terms
  • mw: Searches Merriam-Webster's dictionary
  • ups: Searches UPS for tracking numbers

My attentive readers may have noticed that Firefox will just take the search term you entered and put it into the URL in place of the placeholder "%s". This way if you can't find a search box, you can still add a keyword search by bookmarking a URL, putting the placeholder "%s" in an appropriate spot, and assigning a keyword.

That's what I did with UPS, where I couldn't find a working search form on the website. So I snagged the URL Google uses when it does UPS tracking and manually assigned it a keyword.

Do you use any search keywords you'd like to share? Let me know in the comments.

Happy keyword hacking!

I'm blogging about once a week in 2013, on various topics. This is my fourteenth post of the year.

Was this helpful? Buy me a coffee with Bitcoin! (What is this?)

SQlite error: Unable to Open Database File

When writing a web app using an SQLite database file, you might run into an error where you can read from the file but not write to it......… Continue reading

Micro-tipping with Bitcoin

Published on November 27, 2014

setTimeout in Python

Published on November 14, 2014