为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.