Custom Search Engines in Firefox
Mozilla’s mistakes — although concerning — worry me less than Google’s methodical Internet takeover. Indulge me while I bring the uninformed up to speed: after eviscerating its competitors, over half the Internet now uses Chrome. This dominance gives its creator the power to force sweeping change across this decentralized system: although superficially optional, failure to comply means longer load times, lower search ranking, and lost revenue. Over the last few years in particular, the company has shown an increased willingness to wield that power with more and more aggressive mandates. Publishers who do not expose their content through Accelerated Mobile Pages lose viewers and income. Users who prefer other browsers, perhaps because they value their privacy, either cannot access many of Google’s popular services, or have to live with a degraded user experience. It all leaves a bad taste in my mouth. So while I find Mozilla’s mistakes concerning, I like the thought of supporting Chrome even less, so I decided to give Firefox another try.
Back in the Bad Old Days, under Internet Explorer’s malevolent rule, I used Firefox. It did not take long for me to switch to Chrome, though, thanks to much better performance and all the screen real estate it saved with that snazzy new tab bar. I spent the next decade using Chrome until Google’s strategy became too blatant to ignore, at which point I switched. Aside from a lack of custom search engines, the switch has gone well; this shortcoming, though, has proven a far greater obstacle to adopting Firefox than I expected.
In Chrome, my custom “search engines” make the mundane, boring parts of my work just a little bit faster. I can type “cal” in the address bar, for example, and know that hitting enter will always take me to my Google calendar. Check out the full list, below:
- cal: takes me to my Google calendar.
- sheets: takes me to Google Sheets.
- slides: takes me to Google Slides.
- docs: takes me to Google Docs.
- drive: takes me to Google Drive.
- m: takes me to Gmail.
- def word: searches Google for the definition of word.
- thes word: searches Thesaurus.com for synonyms and antonyms for word.
- proofer: takes me to Proofer’s output file.
- cfb: takes me to the browser settings page.
- cfg: takes me to the custom search engines settings page.
I tried to recreate a similar workflow in Firefox, but its one-click search engines seemed to support this on a site-by-site basis. Last week, though, I stumbled across an old Stack Overflow post that had the answer. Check out lilnfeng’s post for directions, or follow the steps below.
If you want to create a shortcut cal to Google Calendar, open the page and create a new bookmark for it. I like to keep these “search engines” in a folder of their own. Next, open the Library window via the “Bookmarks” and “Show All Bookmarks” menu items. Find the entry you just created, highlight it, and add cal
to the keyword field. Now, whenever you enter this keyword in the address bar, just hit enter to get to https://calendar.google.com/calendar/r.
If you want to use a keyword like thes word to search for synonyms and antonyms of word at Thesaurus.com, start by going to the site and searching for “hi”. Create a new bookmark for the results page and assign it a keyword as in the guide above, but swap “hi” in the Location field with %s
. Firefox will now replace %s
with whatever you type after thes in the address bar.
This may seem like a minor thing, but I believe in automating the boring parts of my work so that I can spend more time doing the interesting ones. These simple shortcuts help me achieve this.