搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Single word search - Firefox tries first DNS looup even though the word does not look like a valid URL (browser.fixup... is disabled).

  • 2 回覆
  • 26 有這個問題
  • 157 次檢視
  • 最近回覆由 forethinker

more options

When I enter a correct domain name in the location bar, it is resolved without any problems ("domain.com"). When I enter multiple words, not constituting a valid domain ("some domain"), it is automatically searched in my preferred search engine. If I enter a single word ("domain"), which is _not_ a valid domain, Firefox still attempts to first resolve it (which takes about 15 seconds).

Is there a way to disable or fix this behavior?

browser.fixup.alternate.enabled;false

browser.safebrowsing.remoteLookups;false

keyword.URL;http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=

When I enter a correct domain name in the location bar, it is resolved without any problems ("domain.com"). When I enter multiple words, not constituting a valid domain ("some domain"), it is automatically searched in my preferred search engine. If I enter a single word ("domain"), which is _not_ a valid domain, Firefox still attempts to first resolve it (which takes about 15 seconds). Is there a way to disable or fix this behavior? browser.fixup.alternate.enabled;false browser.safebrowsing.remoteLookups;false keyword.URL;http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=

所有回覆 (2)

more options

It maybe better to use a (one letter) keyword bookmark if you want to do searches via the location bar. It is always possible that you want to access a local site without a TLD appended and in such cases you need to do a DNS look up.

See http://kb.mozillazine.org/Using_keyword_searches

more options

The best bet for this problem is using Ominbar add-on, as the single keyword redirection to DNS is not a bug, but implementation design.