Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Clear Page Data

Chrome extension that clears site data only for the page currently open in the address bar.

Features

When you click the extension icon, choose what to remove for the active tab's origin:

  • Cookies
  • Local Storage
  • Session Storage
  • IndexedDB
  • Cache Storage
  • Service Workers
  • HTTP Cache

Nothing is cleared for other sites.

Install (unpacked)

  1. Open Chrome and go to chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select this repository folder

Usage

  1. Open any http:// or https:// page
  2. Click the Clear Page Data toolbar icon
  3. Confirm the origin shown at the top matches the site you want
  4. Select the data types to clear
  5. Click Clear selected

Notes

  • Restricted pages (chrome://, Chrome Web Store, etc.) cannot be cleared
  • Session Storage is cleared in the current tab (including frames) via a content script
  • Other types use Chrome's browsingData API scoped with origins: [currentOrigin]

Permissions

  • activeTab / tabs — read the current page URL
  • browsingData — remove origin-scoped site data
  • scripting — clear session storage on the active tab

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages