mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-04-12 06:09:05 +07:00
* Add Puppeteer testing tutorial * Use Jest as test runner * Add comment on changing headless mode
chrome.history
This sample uses the chrome.history API to display in a popup the user's most visited pages.
Overview
This extension calls chrome.history.search() to scrape the browser's history and count occurrences of each visited URL.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Pin the extension to the browser's taskbar.
- Click on the extension's action button to view your most visited pages.