搜尋 Mozilla 技術支援網站

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

Learn More

Prevent FireFox from executing a search for "unknown" domains

  • 5 回覆
  • 2 有這個問題
  • 330 次檢視
  • 最近回覆由 fritzmg

more options

Since one of the recent FireFox updates, the default action in the URL bar for "unknown" domains is always a search. As a web developer, this is extremely aggravating, since I can no longer type "foo.local" into the URL bar and confirm, in order to access http://foo.local/ (see also attached image). It will instead execute a search for "foo.local".

I have looked through the options of browser.urlbar in about:config, but so far I couldn't identify if any of these options would influence this new behaviour.

Since one of the recent FireFox updates, the default action in the URL bar for "unknown" domains is always a search. As a web developer, this is extremely aggravating, since I can no longer type "foo.local" into the URL bar and confirm, in order to access http://foo.local/ (see also attached image). It will instead execute a search for "foo.local". I have looked through the options of browser.urlbar in about:config, but so far I couldn't identify if any of these options would influence this new behaviour.
附加的畫面擷圖

被選擇的解決方法

Hi, I belive that it's fixed in version 78 (1, 2).

This pref for the "local" domain is browser.fixup.domainsuffixwhitelist.local = true.

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

由 TyDraniu 於 修改

more options

由 TyDraniu 於 修改

more options

選擇的解決方法

Hi, I belive that it's fixed in version 78 (1, 2).

This pref for the "local" domain is browser.fixup.domainsuffixwhitelist.local = true.

more options

I see. I'll check again if it is fixed with the update tomorrow (assuming it will indeed be released tomorrow).

more options

This is indeed (sort of) fixed in FireFox 78(.0.1). However, it is only fixed for the following domains by default:

  • .example
  • .internal
  • .invalid
  • .local
  • .localhost
  • .test

You can add more subdomains via the already mentioned config key

 browser.fixup.domainsuffixwhitelist.foobar = true


However, it would also be helpful to be able to disable this feature entirely.

由 fritzmg 於 修改