mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-04-05 14:59:43 +07:00
* Update sample file structure. * Update description * Fix wrong favicon path * Add basic sample * Update README.md * Fix comments
14 lines
499 B
Markdown
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.
|