Places.frecency.numVisits: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
(Add frecency MDC link)
 
Line 2: Line 2:


==Background==
==Background==
Firefox 3 introduced a number of improvements to the [[:Category:Location Bar|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.
Firefox 3 introduced a number of improvements to the [[:Category:Location Bar|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 [http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm “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.


A number for the frecency of a URL is calculated by letting each visit to the URL be worth 100 points, dividing the sum by the number of days since the first known visit, then multiplying the result by a multiplier based on the last ''n'' visits. The multiplier helps “age” results, placing a higher rating on sites visited more recently. This preference determines ''n''—the number of recent visits used to calculate the final multiplier.
A number for the frecency of a URL is calculated by letting each visit to the URL be worth 100 points, dividing the sum by the number of days since the first known visit, then multiplying the result by a multiplier based on the last ''n'' visits. The multiplier helps “age” results, placing a higher rating on sites visited more recently. This preference determines ''n''—the number of recent visits used to calculate the final multiplier.
Line 29: Line 29:
* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Mconnor/PlacesFrecency Users:Mconnor/PlacesFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]
* [http://wiki.mozilla.org/User:Sspitzer/GlobalFrecency Users:Sspitzer/GlobalFrecency (MozillaWiki)]
* [http://developer.mozilla.org/en/docs/The_Places_frecency_algorithm The Places frecency algorithm (Mozilla Developer Center)]


[[Category:Preferences]]
[[Category:Preferences]]

Latest revision as of 14:31, 4 May 2008

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.

A number for the frecency of a URL is calculated by letting each visit to the URL be worth 100 points, dividing the sum by the number of days since the first known visit, then multiplying the result by a multiplier based on the last n visits. The multiplier helps “age” results, placing a higher rating on sites visited more recently. This preference determines n—the number of recent visits used to calculate the final multiplier.

Possible values and their effects

The number of history visits to use when calculating the final multiplier in the frecency computation. Default value is 10 entries.

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