https://unsplash.com/photos/red-panda-on-tree-branch-during-daytime-ut3AqIHbPkY

Firefox about:config tricks 4 – The address bar is not for search

Keeping cinnamon and shit separate as the saying goes in my mother tongue

Here’s some browser history as vaguely remembered by an old crank: Once we had an address bar. Then an integrated search bar was added. Then Chrome came with a merging of the two, hoping that people would search more and enter less. Then Firefox followed suit but allowed you to keep a separate search bar if you so desired. Then Firefox made the address bar a permanent search bar and prevented you from going back.

Well, sort of. There is a fix buried deep below if you’re looking for a way to have the address bar be just that, an address bar, and not to have mistypes immediately interpreted as searches.

There’s a couple of layers to this, so let’s cover the basic stuff first. If all you want is to restore a search bar next to the address bar, that can be accomplished by simply right-clicking (an empty part of) the toolbar and choosing Customize Toolbar… and the adding the Search item to the toolbar. That will, however, not rob the address bar of it’s ability to act as a search bar. You will just gain one more place from which to search.

The ordinary Firefox settings also cater to those who simply don’t want to have a half-typed address thrown at search engines. Only when typing is done and it’s either an address or not-an-address (and therefore by Firefox logic, a search term) should searching be done from the address bar. If that’s what you’re looking for, unticking Show search suggestions in address bar results under the Search engine suggestions section in the Firefox settings should do the trick. Or you can simply have history and bookmarks take pride of place and come before search suggestions by unticking the option just below (Show search suggestions before browsing history in address bar results). Note that by keeping Show search suggestions ticked but all the ones below it unticked, you can still have suggestions in the search bar, and not in the address bar.

Of course if that’s not enough and you want to never under any circumstance have something typed in to the address bar go to search engines, type about:config in to the address bar, and then find the setting keyword.enabled. This is a boolean set to true by default. Click the arrows-pointing-both-ways icon and set it to false. Open a new tab and you should no longer see a search engine icon at the left of the bar, just a globe icon. Type in ‘test’ and press enter. Unlike before Firefox should not interpret it as a search term but try to open http://test (and likely fail).

I did say “never under any circumstance have something typed in to the address bar go to search engines”. That is actually not quite try. Fortunately. Because setting keyword.enabled to false doesn’t actually remove the original keyword functionality. I suspect a few of us still have w tied to Wikipedia searches and aw to Arch Wiki searches.

P.S. I still call this series ‘Firefox’ tricks. I have switched to LibreWolf and would encourage anyone using settings like these to do likewise, as the project’s mindset is very much in line with these suggestions (to the extent that the browser has the last one as a default setting). Oh and since LibreWolf is a Firefox fork all these settings apply equally to it as to Firefox.

Leave a Reply