Files
chrome-extensions-samples/api-samples/topSites/basic/README.md
Xuezhou Dai 0af7b5132d Add topsites/basic sample (#967)
* Update sample file structure.

* Update description

* Fix wrong favicon path

* Add basic sample

* Update README.md

* Fix comments
2023-07-06 11:19:56 +01:00

14 lines
499 B
Markdown

# chrome.topSites - Basic
This sample demonstrates using the `chrome.topSites` API to get the user's most visited sites.
## Overview
The extension uses `chrome.topSites.get` to get the user's most visited sites, and then renders them in the popup.
## Running this extension
1. Clone this repository.
2. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked).
3. Click the extension's action icon.