Introduction: How to Use URL Aliases to Save Time on the Web
In this Instructable, I'm going to show you how to use the address bar at the top of your browser to find information much quicker. Basically, we're turning the address bar into a command line for the web.
A few keystrokes will cut down on repetitive tasks. I use the web on a daily basis for work and for fun, making hundreds of site visits per day.
On most sites, I used to enter the web address (or click a bookmark/shortcut) of a site, then find a search bar and enter what I'm looking for. Now I can go to the address bar (CMD/CTRL-L in Firefox) and type a few characters. This hack has changed my life and you can too!
Difficulty level: EASY
Life changing level: YES
Step 1: Install URL Alias and Set Up Preferences
This Add-on is for Firefox and Chrome, but I will demonstrate in Firefox for this guide.
Look up URL Alias in the Add-on directory (Tools -> Add-Ons, search for URL Alias) and install it. Then, open the Preferences for URL Alias (find it under Tools -> Add-ons -> Extensions).
You want to set up a shorthand code to use. For me, "y" for a YouTube search, or "map" to look up an address on Google Maps, works well. When you type it in the address bar later, you'll add your input term like "Cat videos" or "123 Main Street"
On the Configuration tab, type the shorthand code (a single letter, acronym, or short word like "map" is best) and then press Tab. You will then type the URL that looks for a query. You can see some examples that I use. Feel free to copy them. Some of the links are too long to post, so refer to the image.
- y https://www.youtube.com/results?search_query= [Search anything on YouTube]
- g https://www.google.ca/#safe=off&output=search&q= [Google a term in the address bar]
- r http://www.reddit.com/r/ [This will go directly to the subreddit I want, e.g. "r jokes"]
- rw http://www.rhymezone.com/r/rhyme.cgi?org1=syl&org... ["Rhymes With" mneumonic, so I can type "rw jokes"]
i https://www.instructables.com/howto/ [Search Instructables, e.g. "i hack URLs" or "i ninja star"]
map https://www.google.ca/maps/search/ [Look up a map, as in "123 Main Street, San Jose"]
You can also just create shortcuts to specific domains, especially ones that automatically update. For example, "wotd" could go to "https://en.wiktionary.org/wiki/Wiktionary:Word_of_the_day".
Step 2: How to Figure Out Other URLs
- Go to any site
- Find the search box and enter something like "SEARCHTERM". Make it unique so it stands out.
- Hit OK/Enter
- Look at the address bar and copy it.
- Note: If anything appears after "SEARCHTERM" you can probably delete it safely. Those are just search options, but you can try removing them and then test the URL to make sure it works as desired. You can always move the options around in the URL, as long as they come after the "?" and are separated by "&" symbols. For example:
...youtube.com/results?q=holiday+special&sp=EgIYAQ%253D%253D will return "holiday special" videos less than 4 minutes, but you will get the same results with ...youtube.com/results?sp=EgIYAQ%253D%253D&q=holiday+special. Your search term will be added on to the end.
- Save the string into your Preferences. Be creative and read the documentation for more advanced ideas.
Once you get used to this method of web navigation you'll wonder what you did with you it. Now go set this up and let me know if you have any questions in the comments!