When I type a URL in the address field why is a search box opeing up below?
As I enter a web address into the address field, just below a search block opens up. I already have a search option available next to the address field. How can I turn off the extra search information block?
選ばれた解決策
You can set keyword.enabled to false on the about:config page to disable search in the location bar and possibly use code in userChrome.css to hide items in the location bar drop-down list.
You can remove the search engine bar in the address bar drop down list by setting this pref to false on the about:config page.
- browser.urlbar.oneOffSearches = false
You can use code in userChrome.css remove all suggestions from the address bar drop down list.
- http://kb.mozillazine.org/userChrome.css
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/what-is-userchrome-css.html
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* remove all items from the urlbar drop down */ #PopupAutoCompleteRichResult {display:none !important;}この回答をすべて読む 👍 1
すべての返信 (9)
See the settings for the address bar in "Options/Preferences -> Search".
この投稿は cor-el により
Hello numbat,
In addition to the above :
Would you please do this :
3-bar menu => Options => Privacy & Security => under 'Address Bar':
uncheck the three options.
Just in case you are also getting a bar, bar, listing all available search engines, would you please do this :
Type in the address bar about:config and press Enter (promise to be careful, if asked)
Type in the search bar and look for the preference :
browser.urlbar.OneOffSearches
and set its value to false
Then close and restart Firefox.
Note: that preference was disabled, but works again today.
Have tried the two above suggestions. The search bar with a list of suggested search engines no longer appears, but I still get a new bar opening that mimics what I am typing and appends "- Visit". See attached image. Should I remove and re-install Firefox?
You can add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* remove all items from the urlbar drop down */ #PopupAutoCompleteRichResult {display:none!important;}
It is not that difficult to create userChrome.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close and restart Firefox when you create or modify the userChrome.css file.
My apologies to all. I have failed to see what the real problem is. I failed to notice that the URL address field now has the heading "Search with Wikipedia (en) or enter address". This is the default configuration found at Tools->Options->Search->Default Search Engine. There is no option to change this from search or address to just address and use the search window to the right as the actual search function. Is there anyway to change the original address bar back to being just an address bar?
選ばれた解決策
You can set keyword.enabled to false on the about:config page to disable search in the location bar and possibly use code in userChrome.css to hide items in the location bar drop-down list.
You can remove the search engine bar in the address bar drop down list by setting this pref to false on the about:config page.
- browser.urlbar.oneOffSearches = false
You can use code in userChrome.css remove all suggestions from the address bar drop down list.
- http://kb.mozillazine.org/userChrome.css
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/what-is-userchrome-css.html
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* remove all items from the urlbar drop down */ #PopupAutoCompleteRichResult {display:none !important;}
You can remove the search engine bar in the address bar drop down list by setting this pref to false on the about:config page.
- browser.urlbar.oneOffSearches = false
You can use code in userChrome.css remove all suggestions from the address bar drop down list.
- http://kb.mozillazine.org/userChrome.css
- https://www.userchrome.org/how-create-userchrome-css.html
- https://www.userchrome.org/what-is-userchrome-css.html
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* remove all items from the urlbar drop down */ #PopupAutoCompleteRichResult {display:none !important;}
Thank you all for your input. For me the best option was to set keyword.enabled to false. This eliminated the search bar with all the search engine options and made the web page less busy. I don't trust my own programming skills right now to attempt to modify the userChrome.css file. Perhaps at a later date.
numbat said
For me the best option was to set keyword.enabled to false. This eliminated the search bar with all the search engine options and made the web page less busy.
That's weird, cause you mentioned earlier that the second part of my post took care of that ...... Setting "keyword.ebabled" to "false" won't eliminate the search engine options, nor does it disable the 'Visit' bar.
この投稿は McCoy により