搜尋 Mozilla 技術支援網站

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

Learn More

How can I force Firefox to accept a location as a URL and not a search request?

  • 1 回覆
  • 0 有這個問題
  • 40 次檢視
  • 最近回覆由 cor-el

more options

macOS (and I assume Windows and Linux as well) supports local URL schemas. For instance, Apple supports the "applefeedback://" URL as a way to launch the macOS Feedback Assistance app.

If I have a link to this on a web page, or if I put it in a bookmark, Firefox will ask for confirmation and will then launch Feedback Assistant. This part works great.

But if I type that URL into the location bar, Firefox always sends it to my configured search engine. It doesn't recongize it as a valid URL. And in the popup list of suggestions, there is no option to just go there and not search for it. See the attached screen shot.

I don't want to disable location-bar searching altogether, because it is really useful, but I think there should be a way, on a case-by-case basis, to tell Firefox that I really want it to treat the entire text as a URL. The simplest approach is probably to have an extra row on the popup suggestion list that I can click on to open the text as a URL or produce an error if there is nothing in Firefox or the OS that can resolve it.

Hopefully this won't be too difficult to support. I think it would be extremely useful.

macOS (and I assume Windows and Linux as well) supports local URL schemas. For instance, Apple supports the "applefeedback://" URL as a way to launch the macOS Feedback Assistance app. If I have a link to this on a web page, or if I put it in a bookmark, Firefox will ask for confirmation and will then launch Feedback Assistant. This part works great. But if I type that URL into the location bar, Firefox always sends it to my configured search engine. It doesn't recongize it as a valid URL. And in the popup list of suggestions, there is no option to just go there and not search for it. See the attached screen shot. I don't want to disable location-bar searching altogether, because it is really useful, but I think there should be a way, on a case-by-case basis, to tell Firefox that I really want it to treat the entire text as a URL. The simplest approach is probably to have an extra row on the popup suggestion list that I can click on to open the text as a URL or produce an error if there is nothing in Firefox or the OS that can resolve it. Hopefully this won't be too difficult to support. I think it would be extremely useful.
附加的畫面擷圖

被選擇的解決方法

Leave out the two // and only type the protocol and the colon and the URL.

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

所有回覆 (1)

more options

選擇的解決方法

Leave out the two // and only type the protocol and the colon and the URL.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題