topSites.MostVisitedURL
MostVisitedURL
类型包含两个属性:页面的标题及其 URL。
类型
该类型的值是对象,包含以下属性:
favicon
可选-
String
。包含页面的 favicon 的 data: URL(如果在使用topSites.get()
时提供了includeFavicon
参数并且 favicon 可用)。 title
-
String
。页面的标题。 url
-
String
。页面的 URL。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
MostVisitedURL | |||||||
favicon |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
示例
备注:
该 API 基于 Chromium 的 chrome.topSites
API。