Firefox Hacks: URL Keyword Commands

Most of us will have used the Google toolbar or search box to perform a search from the web browser, but did you know you could type commands right into your URL bar?

When you bookmark a site you can edit the bookmark to give it a keyword. Entering this keyword in the URL bar will take you straight to that website.

That’s pretty cool already for keyboard fans, but there is more! You can use this system to enable searches on your favorite online services right from the URL bar too.

Take Flickr as an example. Go to Flickr and right-click (or CTRL-click for Mac users) on the keyword text box. You will see the following context menu appear.

Click “Add a keyword for this Search” and you will  be asked for a name for the bookmark (eg.  “Flickr”) and a keyword, which will effectively be the command you type.

So if you chose Flickr for the keyword you can now enter “flickr banff” in your URL bar to search Flickr for Banff-related pictures.

Neat eh?

What it does is insert any words you put after the keyword as the phrases to search for, and this will work with most of the online searches you can think of.

Now what if rather than a straight search with a handy form, you want to hack URLs? For example, you might have a favorite online tool that uses tag-based navigation, or the service might not play nice with the quick search.

All you have to do is bookmark the site in the usual way, then go back and edit to enter your keyword. Firefox also supplies a way for you to insert any search phrases you like using “%s” where ever you need them. “%s” is swapped out in the URL with your phrases when the browser navigates to the target site.

As an example, when I discover a new blog I like to see what people are saying about them. Technorati offers a “reactions” view for this purpose but to get there is a little fiddly. To make it easy I can add a bookmark

… then edit the bookmark to apply the keyword and alter the URL to insert the “%s”.

So the URL goes from being “http://www.technorati.com/blogs/www.chrisg.com?reactions” to “http://www.technorati.com/blogs/%s?reactions”.

If we then enter “reactions www.chrisg.org” we will see the blog reactions for my personal blog.

Why don’t you try it on your favorite searches? It works on eBay, Amazon, Thesaurus sites … it could be very useful!

Do you use this feature? Which sites do you use it with? Share your favorite Firefox Hacks in the comments ….

Posted on November 20, 2007 by Chris Garrett 
Filed Under Productivity

Comments

26 Responses to “Firefox Hacks: URL Keyword Commands”

  1. Sebastian on November 20th, 2007 3:33 pm

    Great hack. Very handy.

    I use Launchy to start my applications, which detects this keywords in bookmarks so:
    1. I bookmark the Google Images search as “Images”.
    2. Then in launchy (I don’t even have Firefox open) I just type “im…” and the launcher suggest me the bookmark, I press TAB to use that address and add something else, let say “bottle design”. That leads me to a Google image search of “bottle design”.

    great combination with a lot of potential.

  2. Chris Garrett on November 20th, 2007 5:28 pm

    Nice tip, thanks Sebastian :)

  3. turki on April 12th, 2008 7:08 pm
  4. turkia on April 12th, 2008 7:10 pm
  5. Sjsogrpx on May 12th, 2008 8:43 am

    Best Site good looking “>manly ringtones :[[

  6. Hqbczxni on July 8th, 2008 8:42 am

    perfect design thanks cheap air flights bid on airline tickets %-O

  7. Dskbkepq on July 8th, 2008 1:04 pm

    Hello good day cheap airline tickets >:-]]]

  8. Iwgiwdpb on July 8th, 2008 8:18 pm
  9. Utnailcg on July 8th, 2008 10:14 pm
  10. Zjuyarzj on November 14th, 2008 11:49 pm

    magic story very thanks Sextv 890660

  11. Xcbawfft on November 15th, 2008 7:20 pm

    Very Good Site Free Youporn znhyn

  12. Fglvsddk on November 16th, 2008 3:01 pm

    Thanks funny site thai lolitas xxx ujhmou

  13. Ykffyxnr on November 16th, 2008 5:59 pm

    Wonderfull great site lolitas xxx =-]]]

  14. Uqzwzzbl on November 17th, 2008 8:08 am

    I love this site lolita porn movies fmojiv

  15. Mvobctzf on November 18th, 2008 1:24 pm

    Jonny was here cliphunter grannies krs

  16. Tyzcpjov on November 19th, 2008 5:31 pm

    Thanks funny site free xnxx Downloads 655

  17. Rsfrxbyk on November 21st, 2008 3:41 am

    Best Site good looking Qpornotivia porn >:-D

  18. Wlwuaqxl on November 21st, 2008 8:54 am

    Hello good day free porn boysfood 9101

  19. Vkeunsdw on November 21st, 2008 11:39 am

    Thanks funny site Pornotv Free Movies 41132

  20. Ujwjfcul on November 22nd, 2008 3:42 am

    Punk not dead preteenlolitas =-[[

  21. Rvmgocao on November 23rd, 2008 12:30 am

    Jonny was here teener bbs 770278

  22. Zctuzkmu on November 23rd, 2008 3:38 pm

    Very Good Site juneteenth flag %(

  23. Mxrktvth on November 23rd, 2008 11:36 pm

    this post is fantastic sextube porn tux

  24. Pydrorm on March 1st, 2009 6:46 am

    What After us auto insurance .auto insurance ads was hagerty classic car insurance car insurance job ladder ,may be ogden cheap car insurance quotes online
    could After is connecticut car insurance ch I should uk visitor and auto insurance .now brownsville cheap car insurance quotes online international travel health insurance .

  25. Aryz on July 10th, 2009 3:53 pm

    Firefox really offers some great services, it’s just too bad that many don’t read or search on how we can maximize the use of our browsers.

  26. ruth on July 11th, 2009 5:01 am

    There’s no impossible in the web these days so we should be careful, we can not tell when we are going to be victimized by spammers and internet hackers.

Leave a Reply