Skip to content

An extension to quickly clear web history and download history.

Notifications You must be signed in to change notification settings

dinhanhthi/quick-clear-chrome

Repository files navigation

Quick Clear - Chrome Extension

A modern, fast extension to clear browser history, downloads, and site-specific data (cookies, storage).

⏬ Download the latest version here.

Features

  • Manual Clear: Clear history, downloads, or everything with customizable time ranges (last hour, 24 hours, 7 days, 4 weeks, all time)
  • Auto Clear: Schedule automatic cleaning at set intervals (minutes/hours/days)
  • Site-Specific Cleaner: Clear data for specific domains or the current active site
  • Dark Mode Support: Seamless light/dark theme switching
  • Playground (dev only): A simple UI to test the extension in development.

Quick Clear Screenshot

Installation

  1. If you just want to use the latest version, extract the zip file from zip/ folder and load it in Chrome.
  2. Open chrome://extensions
  3. Enable Developer mode
  4. Click Load unpacked
  5. Select the dist/ folder

Development

Setup

npm install

# Required for screenshot generation (headless browser)
npx puppeteer browsers install chrome-headless-shell

Commands

npm run watch      # Watch for changes and rebuild
npm run dev        # UI development with hot reload
npm run build      # Build extension to dist/ (includes screenshot generation)
npm run build:no-screenshot  # Build without regenerating screenshot
npm run playground # Preview popup UI in browser
npm run screenshot # Regenerate screenshot.png
npm run version 1.1.0  # Update version in package.json and manifest.json
npm run zip        # Create .zip for Chrome Web Store upload
npm run prettier   # Format code
npm run lint       # Run ESLint