搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent FireFox from executing a search for "unknown" domains

  • 5 回覆
  • 2 有這個問題
  • 22 次檢視
  • 最近回覆由 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.

附加的畫面擷圖

被選擇的解決方法

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 於 修改

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題