This sample demonstrates using the chrome.browsingData
API to clear the user's history without having to visit the history page.
Elements on the extension popup are used to take in user input, and chrome.browsingData.remove
is implemented to delete the user's history.
- 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.