Use the browser.topSites API to access the top sites that are displayed on the new tab page.
Permissions: topSites
topSites
Not allowed in: Content scripts, Devtools pages
The entry type, either url for a normal page link, or search for a search shortcut.
url
search
Gets a list of top sites.
Optional
Use the browser.topSites API to access the top sites that are displayed on the new tab page.
Permissions:
topSitesNot allowed in: Content scripts, Devtools pages