為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Bookmark suggestions in URL bar: can I get suggestions only for exact URLs?

  • 4 回覆
  • 0 有這個問題
  • 117 次檢視
  • 最近回覆由 pg_78

more options

In Settings, I have configured "When using the address bar, suggest..." to use my Bookmarks, and nothing else.

Let's say I have a bookmark for the URL: https://www.mozilla.org/en-GB/firefox/products/

If I start typing "moz", that bookmark appears in the suggestions, but the autocomplete also offers me the domain's "home" URL, https://www.mozilla.org.

I don't have that "home" URL bookmarked, so I don't want it to be suggested to me - as I told Firefox when I set "Bookmarks" as the only source of suggestions. Often when trying to navigate quickly to a bookmarked page, I assume that autocomplete will be giving me my bookmarked page, and end up accidentally going to the "home URL" instead.

So is there a setting that lets me keep my bookmark suggestions, but disable this "autocomplete with home URL" behaviour?

This isn't specific to mozilla.org: that URL was just an example.

In Settings, I have configured "When using the address bar, suggest..." to use my Bookmarks, and nothing else. Let's say I have a bookmark for the URL: https://www.mozilla.org/en-GB/firefox/products/ If I start typing "moz", that bookmark appears in the suggestions, but the autocomplete also offers me the domain's "home" URL, https://www.mozilla.org. I don't have that "home" URL bookmarked, so I don't want it to be suggested to me - as I told Firefox when I set "Bookmarks" as the only source of suggestions. Often when trying to navigate quickly to a bookmarked page, I assume that autocomplete will be giving me my bookmarked page, and end up accidentally going to the "home URL" instead. So is there a setting that lets me keep my bookmark suggestions, but disable this "autocomplete with home URL" behaviour? This isn't specific to mozilla.org: that URL was just an example.
附加的畫面擷圖

由 pg_78 於 修改

被選擇的解決方法

This is bug 1597791. Try to enter about:config in the URL bar, switch browser.urlbar.autoFill.adaptiveHistory.enabled = true and restart the browser.

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

所有回覆 (4)

more options

Unfortunately I personally do not know how to force the URL bar auto-complete to only complete bookmarks.

One possible workaround that I use is to press the down key before pressing enter, to ensure that the first suggestion in the dropdown list is selected (assuming that the first is the one wanted).

So in your example you would type m o z down enter.

Sorry can't be more directly helpful. IF there is a way to achieve what you want, then hopefully someone else will share.

由 TechHorse 於 修改

more options

TechHorse said

One possible workaround that I use is to press the down key before pressing enter, to ensure that the first suggestion in the dropdown list is selected (assuming that the first is the one wanted).

Ha, I hear you! Thanks for replying...let's see if anyone knows of a setting for it somewhere.

由 pg_78 於 修改

more options

選擇的解決方法

This is bug 1597791. Try to enter about:config in the URL bar, switch browser.urlbar.autoFill.adaptiveHistory.enabled = true and restart the browser.

more options

TyDraniu said

This is bug 1597791. Try to enter about:config in the URL bar, switch browser.urlbar.autoFill.adaptiveHistory.enabled = true and restart the browser.

That does the job perfectly! Really appreciate your help!

(Edit: I spoke a bit too soon. The "home" URLs do still come up sometimes, though it's better than it was. But thanks, anyway!)

由 pg_78 於 修改