mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* WIP implementation of an mv3 updated browsingData sample * Update popup.js * Implements mv3 browsingData sample * Corrections based on review
723 B
723 B
chrome.browsingData
This sample demonstrates using the chrome.browsingData API to clear the user's history without having to visit the history page.
Overview
Elements on the extension popup are used to take in user input, and chrome.browsingData.remove is implemented to delete the user's history.
Running this extension
- Clone this repository.
- Load this directory in Chrome as an unpacked extension.
- Pin the extension to the taskbar to access the action button.
- Open the extension popup by clicking the action button and interact with the UI. Caution: This extension deletes your browser history.