Back to Chrome Extensions Samples

chrome.topSites - Basic

api-samples/topSites/basic/README.md

latest498 B
Original Source

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.
  3. Click the extension's action icon.