How can I disable automatic search from the address bar?

User Help for Mozilla Firefox
Post Reply
j4nd3r53n
Posts: 57
Joined: August 19th, 2003, 2:12 am

How can I disable automatic search from the address bar?

Post by j4nd3r53n »

I have the following problem: I have a number of web servers on my LAN, which I address using their short hostname - ie not the fully qualified domain name. However, when I occasionally make a typo, Firefox immediately searches for this word on Google and gives me an irrelevant list of results; what I want is an error message, like "Couldn't find this address" or similar. I know there is an option to disable this in about:config, because I have had this working in a previous version before I upgraded to Quantum - but which option? My searches so far haven't found the right answer.
User avatar
DanRaisch
Moderator
Posts: 127246
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: How can I disable automatic search from the address bar?

Post by DanRaisch »

See if this article provides the info you need -- https://support.mozilla.org/en-US/kb/aw ... story-tabs
j4nd3r53n
Posts: 57
Joined: August 19th, 2003, 2:12 am

Re: How can I disable automatic search from the address bar?

Post by j4nd3r53n »

No, that isn't what I am after - I want to completely disable the search providers. All of them. I know I can delete all but the last one, but I do not want that functionality at all, I just want to get an error message whenever I type in the wrong hostname. At the moment, I have to type "http://" in front of the hostname to avoid ending up in some idiotic search.
User avatar
DanRaisch
Moderator
Posts: 127246
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: How can I disable automatic search from the address bar?

Post by DanRaisch »

Did you try the config settings change listed here -- https://support.mozilla.org/en-US/kb/aw ... eting-urls
User avatar
jscher2000
Posts: 11772
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: How can I disable automatic search from the address bar?

Post by jscher2000 »

To disable searching from the address bar:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box above the list, type or paste keyw and pause while the list is filtered

(3) Double-click the keyword.enabled preference to switch the value from true to false
User avatar
MarkRH
Posts: 1361
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: How can I disable automatic search from the address bar?

Post by MarkRH »

Cool, changing that to false does allow keyword searches you've actually defined to still work, so that's cool.
j4nd3r53n
Posts: 57
Joined: August 19th, 2003, 2:12 am

Re: How can I disable automatic search from the address bar?

Post by j4nd3r53n »

jscher2000: That's the one! Thanks!
Post Reply