InputUtils.sys.mjs |
Get the URLs with the top frecency scores.
Note:
- Blocked URLs are excluded
- Allow multiple URLs from the same domain (www vs non-www urls)
@param {number} maxUrls
The maximum number of URLs to fetch.
@param {number} frecencyThreshold
The minimal frecency score of the URL. Will use the default set by
the upstream module if unspecified. For reference, "100" means one
visit in the past 3 days. see more details at:
`/browser/components/urlbar/docs/ranking.rst`
@returns {Array}
An array of URLs. Note that the actual number could be less than `maxUrls`.
|
3580 |