URL Alias adds superpowers to the Firefox address bar
Good things really do come in small packages, as is the case with the URL Alias Firefox addon.
I originally installed it looking to make the address bar more launcher-like. For example, I wanted http://mail.google.com/mail/#inbox to open when I type mail or http://www.freep.com/apps/pbcs.dll/section?Category=SPORTS05 when I enter wings.
I prefer using words or abbreviations I can remember easily instead of hotkey combinations, and this experimental addon is the perfect tool for the job.
Since URL Alias also supports a variable (yep, just one), you can do a whole lot more with your aliases than just save keystrokes.
To manage aliases, type the following in your address bar: chrome://urlalias/content/urlalias.xul [enter]
Suppose you want to set up a Google search alias for results from downloadsquad.com.
dls http://www.google.com/search?q=%s%20site:downloadsquad.com
The %s is replaced by whatever text you enter after the keyword: dls firefox addons will return results for all matching DS posts. Change the alias text and url, and set up as many site-specific searches as you like.
Let's use it with Compfight to find Flickr images. Piece of cake.
cf http://www.compfight.com/#search_type=tags&query=%s&commit=Search&license=&original=1&safe_search=3
Most torrent sites offer a search plugin or toolbar, but why bother? URL Alias works for that, too:
nt http://nowtorrents.com/torrents/%s.html
Along the same lines, you can easily set up an Amazon product search alias:
amazon http://www.amazon.ca/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=%s&x=0&y=0
All that's required is a little investigating. Perform a search on your site, then locate the text you input in the URL. Copy and paste the URL into your alias list and replace that text with %s.
Its simplicity and power make URL Alias a fantastic addon, and it's already become one of my favorites. I'm amazed that it has so few downloads to date, but I hope that you'll give it a try after reading this post and share your thoughts.













Comments
29
Subscribe to commentsedwardDec 1st 2008 12:41PM
Been asking for this for YEARS may have to switch away from Chrome again.
StefanDec 1st 2008 12:56PM
OpenDNS has this exact function, and works for all web browsers
edwardDec 1st 2008 1:00PM
Now why didn't I think of that!
MooglinuxDec 1st 2008 9:52PM
The OpenDNS search system isnt that great, its sluggish and doesnt return all that great in the way of results. This is far more powerful anyway.
LethALDec 1st 2008 1:02PM
Forget this OpenDNS's aliasing, this is built in to Firefox anyway. Just go to a bookmark's properties and add a keyword. And for search, well... you can give any engine a keyword (visit mycroft.mozdev.org to find a search plugin for a site)
sanderbDec 1st 2008 1:12PM
Exactly. Also, every text input in a form can be right-clicked to "Add a keyword for this search". Typing the keyword followed by search terms will do exactly what is advertised here. This has been in Firefox since it was called Firebird or maybe even Phoenix. Does this add-on just duplicate functionality or does it do something extra?
Lee MathewsDec 1st 2008 1:19PM
Oh wow. Thanks guys...I've never bothered since I don't use local bookmarks, but the search thing works great.
Really the only advantage of Alias is shortcuts if you use online-only bookmarks.
Readers +1 !!
LethALDec 1st 2008 1:22PM
If you use online-only bookmarks, then you could sync them, or use OpenDNS' alias system.
markDec 1st 2008 1:25PM
Lee, you can also add an "alias" using this method too. For example, just bookmark gmail, then put in "mail" as the keyword (don't worry about a search term or %s or anything) and then when you type "mail" into the address bar, you will go to gmail. It works great and no extension needed.
sanderbDec 1st 2008 1:27PM
Lee: I'm not sure what I should think of when you say "online-only" bookmarks, but I'd just like to mention that this functionality works fine with for instance Foxmarks (which I use to sync my bookmarks over multiple computers) and even the official del.icio.us extension which I used before that. So unless you mean something else by online-only bookmarks (like a custom page full of links or something), Firefox will still have you covered :)
Lee MathewsDec 1st 2008 1:28PM
GMarks addon with google bookmarks?
EntropyIVDec 1st 2008 1:06PM
Umm, unless I am missing something, Firefox has that built in already. It is a bookmark property called "Keyword".
MskaduDec 4th 2008 9:01AM
Yes, you are right. See:
http://www.mozilla.org/products/firefox/smart-keywords.html
DarkeSwordDec 1st 2008 1:21PM
Yeah this has been around for ages as keywords in FF. In fact I prefer to use "google %s" instead of the search box.
Though I guess this is a way of doing it without filling up your bookmarks? :|
Bryan PriceDec 1st 2008 2:29PM
I have a 400K bookmark file. What is this filling up that you speak off?
Horribly outdated. I mean, I've got stuff added from 1995. And nothing new added in quite some since I use Delicious now. And while I've though of importing the whole mess up to Delicious, I probably just need to go through and weed it out. If not just start all over from scratch.
NicDec 2nd 2008 10:32AM
Genius I was going to say the same thing.
kaiDec 1st 2008 1:24PM
I'm obligated to say that Opera has had this feature for ages.
Bryan PriceDec 1st 2008 2:22PM
Been doing this for years with keyworded bookmarks.
go what I'm looking for - Google
gm address - Google Maps
I keep a section on my opening page just for reference (I've got a bunch, I just can't remember them).
minibarDec 1st 2008 2:37PM
The Firefox feature is called Quick search if anyone wants more info.
I have single or at most two characters for the keyword ("a" for "amazon" etc.) and use this to replace the search bar, allowing me to see more of the urlbar when parsing urls.
kyleDec 1st 2008 3:52PM
i believe this has been a feature of firefox for as long as firefox has existed. all this addon does is provide a nice central interface for managing all your keywords.