Places.frecency.(visit type)VisitBonus: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
m (→‎Possible values and their effects: places.frecency.bookmarkVisitBonus -> 75)
 
(3 intermediate revisions by one other user not shown)
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.


The means by which a user arrived at a given URL (the “transition type”) is taken into account when calculating frecency. Typing in a URL, for example, is given a higher “bonus” than visiting a bookmark or clicking a link. These preferences—of the form '''places.frecency.(visit type)VisitBonus'''—determine the various bonus percentages given to the defined transition types.
The means by which a user arrived at a given URL (the “transition type”) is taken into account when calculating frecency. Typing in a URL, for example, is given a higher “bonus” than visiting a bookmark or clicking a link. These preferences—of the form '''places.frecency.(visit type)VisitBonus'''—determine the various bonus percentages given to the defined transition types.
Line 13: Line 13:
:0
:0
;places.frecency.linkVisitBonus
;places.frecency.linkVisitBonus
:120
:100
;places.frecency.typedVisitBonus
;places.frecency.typedVisitBonus
:200
:2000
;places.frecency.bookmarkVisitBonus
;places.frecency.bookmarkVisitBonus
:140
:75
;places.frecency.defaultVisitBonus
:0
;places.frecency.downloadVisitBonus
;places.frecency.downloadVisitBonus
:0
:0
Line 33: Line 35:
==Related bugs==
==Related bugs==
* [https://bugzilla.mozilla.org/show_bug.cgi?id=394038 Bug 394038 - make url bar autocomplete frecency algorithm global]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=394038 Bug 394038 - make url bar autocomplete frecency algorithm global]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=417810 Bug 417810 - Frequently Visited Pages Disappear From Location Bar Autocomplete]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=424454 Bug 424454 - Typed urls (like domain roots) need more frecency bonus]


==Related preferences==
==Related preferences==
Line 45: Line 49:
* [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 11:25, 8 March 2010

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.

The means by which a user arrived at a given URL (the “transition type”) is taken into account when calculating frecency. Typing in a URL, for example, is given a higher “bonus” than visiting a bookmark or clicking a link. These preferences—of the form places.frecency.(visit type)VisitBonus—determine the various bonus percentages given to the defined transition types.

Possible values and their effects

The percent bonus given to the various visit transition types.

By default, the following preferences and values exist:

places.frecency.embedVisitBonus
0
places.frecency.linkVisitBonus
100
places.frecency.typedVisitBonus
2000
places.frecency.bookmarkVisitBonus
75
places.frecency.defaultVisitBonus
0
places.frecency.downloadVisitBonus
0
places.frecency.permRedirectVisitBonus
0
places.frecency.tempRedirectVisitBonus
0

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