# Keys are what the user must type, first element of value is the url preceding the query, the second element is the url that proceeds the query my %shortcuts = ( # General 'c:' => ['http://', '.com'], # Expand query to a .com 'n:' => ['http://', '.net'], # ... .net 'o:' => ['http://', '.org'], # ... .org 'cw:' => ['http://www.', '.com'], # www. .com 'nw:' => ['http://www.', '.net'], # www. .net 'ow:' => ['http://www.', '.org'], # www. .org # General search engines 'g:' => ['http://www.google.com/search?q=', ''], # google 'y:' => ['http://search.yahoo.com/search?p=', ''], # yahoo # Comics 'xkcd:'=> ['http://www.ohnorobot.com/index.pl?s=', '&comic=56'], # xkcd # Wikis 'wp:' => ['http://en.wikipedia.org/wiki/', ''], # wikipedia # Movies/Videos 'imdb:'=> ['http://www.imdb.com/find?s=all&q=', ''], # imdb 'yt:' => ['http://www.youtube.com/results?search_query=', ''], # youtube 'mc:' => ['http://www.metacafe.com/tags/', ''], # metacafe # Music 'pl:' => ['http://search.playlist.com/tracks/', ''], # playlist # eShopping 'eb:' => ['http://shop.ebay.com/', ''], # ebay 'ama:' => ['http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=', ''], # amazon # Torrents 'pb:' => ['http://thepiratebay.org/search/', '/0/99/0'], # the pirate bay 'bt:' => ['http://btjunkie.org/search?q=', ''], # btjunkie 'dm:' => ['http://www.demonoid.com/files/?query=', ''], # demonoid # Dictionaries (and related) 'mwd:' => ['http://www.merriam-webster.com/dictionary/', ''], # m-w dictionary 'mwt:' => ['http://www.merriam-webster.com/thesaurus/', ''], # m-w thesaurus 'dict:'=> ['http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=', ''], # dict 'urb:' => ['http://www.urbandictionary.com/define.php?term=', ''], # urban dictionary 'acr:' => ['http://www.acronymfinder.com/', '.html'], # acronym finder );