urlbar search with empty query
With Firefox 86 it is no more possible to use a search keyword in the urlbar with an empty query string to open the corresponing web page. E.g. I type "g" for Google followed by <space> and the urlbar notices I want to perform a Google search. But pressing <enter> has no effect until I actually enter a string (other than whitespace) to search for. In previous version it was possible to just search for nothing to open the search page (like a shortcut to the search web page).
In Firefox 83, the old behaviour could still be restored by setting browser.urlbar.update2=false. This doesn't work anymore since version 86.
Is there a possibility to get the old behaviour back?
所有回复 (2)
For me both "g" and "g " opens the Google search page if i press the Enter key.
Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or userChrome.css is causing the problem.
- switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
- do NOT click the "Refresh Firefox" button on the Safe Mode start window
- https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
- https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems
Try the Firefox version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.
Thanks for your reply, but this is not a configuration problem and it is neither caused by an add-on, nor by a modified userChome.css. It happens with a completely new profile (I deleted ~/.mozilla to test it). The only difference is that the default keyword for Google is "@google". If Google is your default search engine and "g" is not set as search keyword, of course entering "g" will open Google and serach for the letter "g".
Let's e.g. use DuckDuckGo instead with the default keyword "@ddg". Type in "@ddg " (note the trailing space space). You'll get a blue box in the url bar with "DuckDuckGo" written in it. At that point, pressing enter has no effect. You must type in a non-whitespace string to open the DuckDuckGo web page.