Places.frecency.*BucketWeight

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

Firefox 3 introduced a number of improvements to the Location Bar. Among them were changes to how sites are ordered in the dropdown menu. Firefox takes into account how frequently and how recently sites in the browser history were visited, combining them into a statistic called “frecency.” The frecency of sites is calculated when the browser is idle. The way frecency is computed can be tweaked by a number of preferences.

Past visits are categorized into four “buckets,” based on the days since the visit. The visits in each bucket are given a different weight for frecency calculations. These preferences—of the form places.frecency.*BucketWeight—determine the weight given to the various cutoffs, in points, for the four possible buckets (as well as a default weight).

Possible values and their effects

The number of points used to weight the frecency calculations of visits falling into the defined buckets.

By default, the following preferences and values exist:

places.frecency.firstBucketWeight
100
places.frecency.secondBucketWeight
70
places.frecency.thirdBucketWeight
50
places.frecency.fourthBucketWeight
30
places.frecency.defaultBucketWeight
10

First checked in

2008-01-25 by Dietrich Ayala

Has an effect in

  • Firefox (nightly builds since 2008-01-25)

Related bugs

Related preferences

External links