MDN self-hosted library · e01.org

topSites.MostVisitedURL

The MostVisitedURL type contains two properties: the title of a page and its URL.

no runnable cells webextension-api-type upstream source

The MostVisitedURL type contains two properties: the title of a page and its URL.

Type

Values of this type are objects. They contain the following properties:

  • favicon
  • : String. A data: URL containing the favicon for the page, if includeFavicon was given in topSites.get() and the favicon was available.
  • title
  • : String. The page's title.
  • url
  • : String. The page's URL.

Examples

Browser compatibility

[!NOTE] This API is based on Chromium's chrome.topSites API.