搜尋 Mozilla 技術支援網站

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

了解更多

How to disable search suggestion in address bar in case of 404 errors?

  • 1 回覆
  • 0 有這個問題
  • 5 次檢視
  • 最近回覆由 zeroknight

more options

I'm a software developer working on some web application and sometimes need to manually add URL components in the address bar of an open tab simpyl to test something. For example I have some tab open shwoing the web page under "http://localhost:8080/entry" and I need to test "http://localhost:8080/entry/foobar" by manually adding "/foobar" to the URL. Depending on if "/foobar" exists or not, either some web page is shown or inc ase of a HTTP status code 404 Firefox automatically opens a new tab and forwards my input as search to Google.

That is not what I want. I want Firefox to simply show the HTTP status code 404 like the other browsers I use. Though, I want to be able to search in the address bar in general, only not in case there's an existing working URL open already and I change the child path only.

Is there some way to disable the behaviour of Firefox for 404s or do I need to completely disable searches in the address bar instead?

Thanks!

I'm a software developer working on some web application and sometimes need to manually add URL components in the address bar of an open tab simpyl to test something. For example I have some tab open shwoing the web page under "http://localhost:8080/entry" and I need to test "http://localhost:8080/entry/foobar" by manually adding "/foobar" to the URL. Depending on if "/foobar" exists or not, either some web page is shown or inc ase of a HTTP status code 404 Firefox automatically opens a new tab and forwards my input as search to Google. That is not what I want. I want Firefox to simply show the HTTP status code 404 like the other browsers I use. Though, I want to be able to search in the address bar in general, only not in case there's an existing working URL open already and I change the child path only. '''Is there some way to disable the behaviour of Firefox for 404s or do I need to completely disable searches in the address bar instead?''' Thanks!

所有回覆 (1)

more options

Does it still happen in Troubleshoot Mode?