Firefox has the functionality practically built-in. It doesn't (as far as I know) let you use a keyboard shortcut per se, but it does allow Keywords in the Address Bar. In this case, that's pretty much just as well since you'll have to type your parameters somewhere anyway.
When you create a bookmark, you have the following fields to populate:
- Name - This is the friendly name you want displayed for the bookmark in menus.
- Location - This is the URL of the website you want bookmarked. You'll be using this to mark the input parameter for your shortcut.
- Tags - Useful for indexing your bookmarks.
- Keyword - This is the key feature. This allows you to specify a shortcut term that you can use to call the bookmark from the Address Bar.
- Description - Here you can add a description for your bookmark. You might want to include notes to yourself about how to use the Keyword.
Name and Location are the only mandatory fields. For the functionality you seek, you'll also need a Keyword. As an example, here's a shortcut I use for searching Google.
Name: Google Search
Location: http://www.google.com/search?&q=%s
Tags: Search
Keyword: go
Description: Used to search Google. Type go [search terms]
in the Address Bar to perform search.
The key items you need to be aware of in that bookmark are the %s
in the Location, and the Keyword. What happens here, is that whenever I type go
into the Awesome Bar, whatever I type after go
is put in place of %s
in the URL.
Thus: go Firefox Quick Search
becomes http://www.google.com/search?&q=firefox%20quick%20search
.
As a matter of fact, that exact search currently turns up as a #1 search result the same website that taught me this trick. Geek to Live: Fifteen Firefox Quick Searches (LifeHacker)
One final note: I'm not aware of any way you can specify multiple parameters for a single URL (i.e.: http://somewebsite.com/[parameter1]/subfoldername/[parameter2]/index.html
). Whenever you use the %s
in a location, everything (including spaces, punctuation, etc.) after the Keyword is put into that one placeholder.