GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SysAdminDoc/uBlockVanced: An efficient content blocker forged from uBlock Origin (MV2) with Catppuccin Mocha dark theme, premium UI, and a DevTools-powered Element Forge panel for deep CSS element inspection and hiding.

BranchesTags
Open more actions menu

Latest commit

 

History

13,898 Commits
13,898 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
assets
assets
 
 
dist
dist
 
 
docs
docs
 
 
platform
platform
 
 
publish-extension @ b245171
publish-extension @ b245171
 
 
src
src
 
 
tests
tests
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
MANIFESTO.md
MANIFESTO.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
REMOVED.md
REMOVED.md
 
 
RESEARCH.md
RESEARCH.md
 
 
ROADMAP.md
ROADMAP.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
icon.png
icon.png
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

uBlockVanced

uBlockVanced v0.3.1

Enhanced fork of uBlock Origin (Manifest V2) with deep element inspection, procedural cosmetic filters, and Catppuccin Mocha dark theme.

MV2 Version 0.3.1 Catppuccin Mocha GPLv3

Buy me a coffee on Ko-fi

If this project helps you, a coffee helps me keep working on it.

2026-04-19 13_44_21-OpenCut and 5 more tabs - File Explorer 2026-04-19 13_43_32-OpenCut and 5 more tabs - File Explorer 2026-04-19 13_43_46-OpenCut and 5 more tabs - File Explorer

---

What's Different

uBlockVanced adds a DevTools panel called Element Probe that solves a specific problem: uBlock Origin's standard element picker can't select elements with obfuscated CSS classes, shadow DOM boundaries, or dynamic content like YouTube live chat banners.

Element Probe Features

  • Deep element inspection via chrome.devtools.inspectedWindow.eval() -- bypasses content script limitations
  • Procedural cosmetic filter generation:
    • :has-text() -- match elements by their text content (regex supported)
    • :upward(N) / :upward(selector) -- target ancestor elements from a known child
    • :matches-path() -- restrict filters to specific URL paths
    • :not(:has-text()) -- inverse text matching
  • YouTube-specific selectors for live chat banners, tickers, and custom elements with dynamic classes
  • Shadow DOM scanning and piercing selectors
  • iframe detection and analysis
  • Smart class classification -- distinguishes stable class names from obfuscated/dynamic ones (CSS-in-JS, styled-components, emotion, etc.)
  • Filter history with undo -- persisted in chrome.storage.local, revert applied filters
  • Proper filter persistence via uBlock's createUserFilter messaging channel
  • Visual element picker -- hover-to-highlight with inspect() integration to set $0
  • Right-click context menu -- "Inspect with Element Probe" on any page element
  • Live preview -- hover over generated selectors to highlight matching elements

Compatibility

  • CSP-compatible cosmetic mode -- on strict sites, set cspCompatibleMode true in Advanced Settings. Cosmetic styles are routed through constructable stylesheets when available, with the extension stylesheet API as a fallback, avoiding inline <style> injection.

Theme

Full Catppuccin Mocha dark theme applied across:

  • Element Probe DevTools panel
  • Element picker overlay (epicker)
  • Logger UI (all hardcoded colors replaced with theme-aware values)
  • DOM inspector
  • Filter list pages
  • Dynamic filtering dialog (allow/block/noop action colors)

Base

All standard uBlock Origin features remain intact -- ad blocking, filter lists, dynamic filtering, logger, cloud sync, etc.

Installation

  1. Clone: git clone https://github.com/SysAdminDoc/uBlockVanced.git
  2. Open chrome://extensions/ in Chrome/Edge
  3. Enable Developer mode
  4. Click Load unpacked and select the src/ directory
  5. Open DevTools (F12) on any page -- the Element Probe tab appears

Usage

Element Probe (DevTools Panel)

  1. Open DevTools (F12) on any page
  2. Navigate to the Element Probe tab
  3. Either:
    • Select an element in the Elements panel, then click Inspect Selected Element
    • Click Pick from Page to hover-and-click select directly
  4. Review generated CSS Selectors (standard) and Procedural Filters (:has-text, :upward, etc.)
  5. Click a selector/filter to populate the filter output
  6. Apply Filter persists it to uBlock's user filter list
  7. Use Filter History to undo/redo applied filters

Context Menu

Right-click any element and select Inspect with Element Probe to set it as the DevTools $0 reference, then switch to the Element Probe panel.

Building

make chromium   # Build for Chrome/Edge
make firefox    # Build for Firefox
make opera      # Build for Opera

License

GPLv3

Based on uBlock Origin by Raymond Hill.

About

An efficient content blocker forged from uBlock Origin (MV2) with Catppuccin Mocha dark theme, premium UI, and a DevTools-powered Element Forge panel for deep CSS element inspection and hiding.

Topics

browser-extensionjavascriptuserscript

Resources

Readme
GPL-3.0 license

Contributing

Contributing
Activity

Stars

7 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.