Firefox Command+K no longer opens search

firefoxkeyboardsearch

In Firefox, pressing ⌘ cmd K used to open a search page. But as of recent updates, it only focuses the URL bar.

I have the search bar hidden… so this sort of makes sense. However when I want to search for something with periods in it, Firefox treats it as a URL. For example: document.getElementById().

Is there a way to restore the old ⌘ cmd K functionality of opening a true search field?

Best Answer

When searching from the URL bar, I prepend a space before search terms containing a .. This forces Firefox not to treat the first two words as a domain name. This has worked since even before Firefox 1.0.

In your case though, make sure you have the Search Bar in Firefox’s drawer/“hamburger” menu. Pressing ⌘ cmd K focuses that search bar for me, without needing to drag it onto the application’s main toolbar.

Search Menu

If the Search Bar is missing, open that same menu, and click Customize. Drag the Search Bar from the collection of Additional Tools and Features onto your “hamburger” menu.

Customize Menu

If the Search Bar isn’t available from there, you may need to Restore Defaults.