Back to Chrome Extensions Samples

chrome.cookies

api-samples/cookies/cookie-clearer/README.md

latest614 B
Original Source

chrome.cookies

This sample demonstrates the chrome.cookies API by letting a user delete their cookies via a popup UI.

Overview

The extension uses chrome.cookies.getAll() and chrome.cookies.remove() to delete the user's cookies when prompted.

Running this extension

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Pin the extension to the taskbar to access the action button.
  4. Open the extension popup by clicking the action button and interact with the UI.