Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

How to make address bar less smart?

  • 2 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від cor-el

more options

How can I make the address bar in Firefox to:

1. Only treat the input as URL if it looks like a valid URL (i.e. starts with scheme://...)

2. Only search if the input is prefixed with a search keyword. E.g. "g foobar" would do Google search for "foobar"

3. Anything else (including non-FQDN addresses and the likes) would just show an error page, without trying to resolve the address or perform a search with it.

How can I make the address bar in Firefox to: 1. Only treat the input as URL if it looks like a valid URL (i.e. starts with scheme://...) 2. Only search if the input is prefixed with a search keyword. E.g. "g foobar" would do Google search for "foobar" 3. Anything else (including non-FQDN addresses and the likes) would just show an error page, without trying to resolve the address or perform a search with it.

Змінено zirahvi

Усі відповіді (2)

more options

1. No this is no longer possible from my testing. I am still looking for a bug.

2. This used to work, I could not get it to Keywords: https://www-archive.mozilla.org/docs/end-user/keywords.html per reddit thread I found, tags worked:

However, that did not appear to work either. The Keyword Bookmarks add on is no longer supported in the

3. I don't see this a possible at the moment. I disabled all the search features and could not get an error, it always defaulted to a search on the default search engine.

Perhaps others have a suggestion?

more options

You can set keyword.enabled to false to stop Firefox from searching if you type only one word. Firefox will however still try to add the http:// protocol and fixup the URL (prefix www. and postfix .com, see the browser.fixup.alternate.* prefs; fixup only works for the http protocol). If this fails then you get the error page. I'm not aware of a way to prevent Firefox from adding the http: protocol.