搜尋 Mozilla 技術支援網站

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

Learn More

Configure URL bar to autofill base domain of a site without suggesting entire history

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

more options

E.g., is there any way I can configure the URL bar to, when I type 'r', prefill 'https://www.reddit.com/' without also displaying history like '[Update] Being sued for helping a choking victim. (OR) https://www.reddit.com/r/legaladvice/comments/9kfc7v/update_being_sued_for_helping_a_choking_victim_or/'. I know there is the option to prevent the address bar from using browsing history, but then it doesn't suggest anything at all. I could prohibit it from using browsing history and then add sites to my bookmarks, I guess, but I'd prefer not to.

E.g., is there any way I can configure the URL bar to, when I type 'r', prefill 'https://www.reddit.com/' without also displaying history like '[Update] Being sued for helping a choking victim. (OR) https://www.reddit.com/r/legaladvice/comments/9kfc7v/update_being_sued_for_helping_a_choking_victim_or/'. I know there is the option to prevent the address bar from using browsing history, but then it doesn't suggest anything at all. I could prohibit it from using browsing history and then add sites to my bookmarks, I guess, but I'd prefer not to.

所有回覆 (2)

more options

Hmm, do you need bookmark, open tabs, or search suggestions? If you don't want any autocomplete drop-down suggestions at all, you could set the maximum number of results on that list to zero:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste URLB and pause while the list is filtered

(3) Double-click the browser.urlbar.maxRichResults preference to display a dialog where you can enter 0 and then click OK

Does that work on yours?

more options

Suggestions (bookmarks and history) in the location bar drop-down list are ordered by frecency, so you would always get the page you visited most and not the top level domain in most cases. You can only force a specific URL via a bookmark with a keyword.