Item logo image for Cleaner Pro+

Cleaner Pro+

Item media 1 (screenshot) for Cleaner Pro+

Overview

Removes buttons, links and interactive elements containing specified keywords from any webpage.

# 🧹 Cleaner Pro+ > A Chrome extension that automatically removes buttons, links, and interactive UI elements containing specified keywords from any webpage. ## ✨ Features - **Keyword-Based Removal** β€” Define keywords (e.g. "Apply Now", "Sign Up"), and any button/link containing them will be automatically removed from the page. - **Smart Button Detection** β€” Uses `TreeWalker` to locate keyword text, then **bubbles up** to find the outermost button shell (including background, border, shadow), ensuring the entire clickable element is removed β€” not just the text. - **10+ UI Framework Support** β€” Works with buttons from all major component libraries: | Framework | Detected Classes | |-----------|-----------------| | Element UI / Element Plus | `el-button`, `el-link`, `el-tag`, `el-dropdown-menu__item` | | Ant Design / Ant Design Vue | `ant-btn`, `ant-tag`, `ant-switch` | | Bootstrap | `btn` | | Vuetify | `v-btn`, `v-chip` | | Material UI (React) | `MuiButton`, `MuiChip`, `MuiIconButton` | | Naive UI | `n-button`, `n-tag` | | Arco Design | `arco-btn` | | TDesign | `t-button`, `t-tag` | | iView / View UI | `ivu-btn`, `ivu-tag` | - **Whitelist** β€” Exclude specific domains from being cleaned. - **Real-Time Config** β€” Changes to keywords or whitelist take effect immediately without page refresh. - **MutationObserver with Debounce** β€” Monitors dynamic content (SPA, lazy-loaded elements) with a 200ms debounce to prevent infinite loops. - **Manual Clean** β€” One-click button to re-scan and clean the current page. - **Removal Counter** β€” Displays how many elements have been removed on the current page. - **Console Logging** β€” Detailed logs in DevTools console showing exactly what was removed. ## πŸ“¦ Installation 1. Download or clone this repository. 2. Open Chrome and navigate to `chrome://extensions/`. 3. Enable **Developer mode** (toggle in the top-right corner). 4. Click **Load unpacked** and select the `cleaner-pro-plus` folder. 5. The extension icon will appear in your toolbar. ### Generate Icons 1. Open `generate-icons.html` in your browser. 2. Click **Download PNG** for each size (16, 48, 128), or copy the Base64 and convert. 3. Save the PNG files to the `icons/` folder as `icon16.png`, `icon48.png`, `icon128.png`. ## πŸš€ Usage ### Basic 1. Click the extension icon in the toolbar. 2. The popup shows the current removal count and an on/off toggle. 3. Click **βš™οΈ Rule Settings** to configure keywords and whitelist. ### Configuration - **Keywords** β€” Comma-separated list of keywords. Any button/link whose text contains these words will be removed. ``` Apply Now, Sign Up, Subscribe, Open Account ``` - **Whitelist** β€” One domain per line. Pages matching these domains will not be cleaned. ``` github.com localhost ``` ### Console Output Open DevTools (F12) β†’ Console to see removal logs: ``` [Cleaner Pro+] Removed: <button class="el-button el-button--primary"> "Search" [Cleaner Pro+] Removed: <a class="el-link el-link--primary"> "View Details" ``` ## πŸ—οΈ Architecture ``` cleaner-pro-plus/ β”œβ”€β”€ manifest.json # Extension manifest (MV3) β”œβ”€β”€ content.js # Core cleaning logic (injected into every page) β”œβ”€β”€ popup.html/js # Extension popup UI β”œβ”€β”€ options.html/js # Settings page β”œβ”€β”€ icons/ # Extension icons (16/48/128 PNG) └── generate-icons.html # Icon generation tool ``` ### How It Works ``` 1. TreeWalker scans all text nodes in the page ↓ 2. Finds text nodes containing any keyword ↓ 3. For each match, calls findButtonAncestor() to bubble up and find the outermost button shell ↓ 4. Collects all targets into a Set (deduplicated) ↓ 5. Pauses MutationObserver β†’ batch removes all targets β†’ resumes Observer ``` **Key Design Decisions:** - **TreeWalker over querySelectorAll** β€” Directly finds text containing keywords, rather than checking every element's `innerText` (which could match large containers). - **Bubble-Up Strategy** β€” Prevents the "empty button shell" problem where only the inner `<span>` text is removed but the `<button>` background remains. - **Debounced MutationObserver** β€” Merges rapid DOM changes (common in SPAs) into a single clean pass, preventing infinite removal loops. ## πŸ“„ License MIT License. Free to use and modify.

Details

  • Version
    3.0.3
  • Updated
    April 14, 2026
  • Offered by
    shanyafuyw
  • Size
    23.46KiB
  • Languages
    3 languages
  • Developer
    Email
    shanyafuyw@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data. To learn more, see the developer’s privacy policy.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

Related

Quick Javascript Switcher

4.3

Disable JavaScript on any site in one click

WEB MACRO

5.0

μ›Ή μš”μ†Œ μ°ΎκΈ°, μžλ°”μŠ€ν¬λ¦½νŠΈ μ‹€ν–‰, 전체 νƒ­ μƒˆλ‘œκ³ μΉ¨, μ›Ή λ™μž‘ 기둝

Enable Right Click – Copy, Paste & Context Menu

0.0

Enables right-click, copy, Paste, and text selection on websites that block these actions. Restore full control of your browser.

Zapit - Click to Remove Element

3.5

Instantly hide unwanted elements on any website with a single click. Clean up your browsing experience!

De-Slop

5.0

Automatically detects and removes AI-generated slop content from web pages

Highlight This: finds and marks words

3.8

Automatically finds and highlights words and phrases on the web page according to your list

Rank-O-Saur - SEO Extension

5.0

Your all-in-one SEO browser extension for content, language, crawling, indexing, links, ai search and structured data.

Print Edit WE

4.4

Edit web pages prior to printing. Delete, hide and format elements. Edit text. Remove adverts and sidebars.

MarkSnip - Markdown Web Clipper

4.5

One-click Markdown web clipper. Save articles, docs, code & tables as clean Markdown for AI agents & LLMs. Supports Obsidian & more.

KeyBinds - Keyboard Shortcuts for Web Pages

4.0

Create custom keyboard shortcuts for any button, link, or clickable element on web pages.

LinkScalper - Advanced Link Grabber

4.8

Extracts all links from a webpage and displays them on a new page with options.

New Tab Page - HomeScreen (Custom Home Page)

5.0

New tab page to enhance your web browsing with a clean, customizable UI. Complete with a built-in to-do list and folder organization

Quick Javascript Switcher

4.3

Disable JavaScript on any site in one click

WEB MACRO

5.0

μ›Ή μš”μ†Œ μ°ΎκΈ°, μžλ°”μŠ€ν¬λ¦½νŠΈ μ‹€ν–‰, 전체 νƒ­ μƒˆλ‘œκ³ μΉ¨, μ›Ή λ™μž‘ 기둝

Enable Right Click – Copy, Paste & Context Menu

0.0

Enables right-click, copy, Paste, and text selection on websites that block these actions. Restore full control of your browser.

Zapit - Click to Remove Element

3.5

Instantly hide unwanted elements on any website with a single click. Clean up your browsing experience!

De-Slop

5.0

Automatically detects and removes AI-generated slop content from web pages

Highlight This: finds and marks words

3.8

Automatically finds and highlights words and phrases on the web page according to your list

Rank-O-Saur - SEO Extension

5.0

Your all-in-one SEO browser extension for content, language, crawling, indexing, links, ai search and structured data.

Print Edit WE

4.4

Edit web pages prior to printing. Delete, hide and format elements. Edit text. Remove adverts and sidebars.

Google apps