Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Firefox address bar favor bookmarks? [closed]

When you type something in the address bar, Firefox searches a bunch of things, including browsing history, bookmarks, open tabs, etc. How do I tell Firefox to favor bookmarks so I can find them quickly? Sometimes Firefox shows a lot of entries from my browsing history and none of my bookmarks.

like image 957
jduan Avatar asked Jul 03 '19 16:07

jduan


2 Answers

If you want to improve the priority of your bookmark, you can go to about:preferences#search page and in Default Search Engine uncheck Show search suggestions ahead of browsing history in address bar results or uncheck Provide search suggestions.

Firefox takes into account how frequently and how recently sites in the browser history and bookmarks were visited, combining them into an algorithm called frecency algorithm.

You could adjust (increase) the value of the places.frecency.*BucketWeight preferences though to boost the ranking of more recent visits and adjust the timespan in days for the different buckets through places.frecency.*BucketCutoff. You could also adjust the "weight" it gives to certain types of URLs—like bookmarks through places.frecency.*VisitBonus.

In your case, if you want to increase the priority of bookmarks, I think you can increase the value of places.frecency.unvisitedBookmarkBonus, so those unvisited bookmarks can get more scores then rank higher. You could also give more bonus to visited bookmarks by increasing the value of places.frecency.bookmarkVisitBonus.

Moreover, you can change the number of suggestions in the address bar dropdown by changing the value of browser.urlbar.maxRichResults in about:config.


At least in the version of 89.0, firefox now supports Bookmarks search engines. You can search only bookmarks by clicking the icon or typing * (You can customize this in about:preferences#search Search Shortcuts section) before your search keywords.

enter image description here

There will be a Bookmarks keyword at the front of search bar if you use the bookmark search engine.

enter image description here

like image 70
Ynjxsjmh Avatar answered Oct 04 '22 04:10

Ynjxsjmh


You can type special characters after search term to tell Firefox to favor certain things. For example, you can type * after a term to tell Firefox to search only bookmarks. Fore more info, see https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_changing-results-on-the-fly

like image 22
jduan Avatar answered Oct 04 '22 03:10

jduan