brave-adblock-cdp-debugger

Brave Adblock CDP Debugger

Web extension that surfaces debugging information related to adblock-rust’s blocking in Brave browser by attaching chrome.debugger to tabs.

https://chromewebstore.google.com/detail/jjdnadjeikhfdamncnleihglcbllhiia/

How it works

Consumes exactly one CDP event: Network.requestAdblockInfoReceived (a Brave-only extension to the DevTools protocol, defined in brave-core’s browser_protocol.pdl).

Each event carries Network.AdblockInfo.

Why do I see a scary warning saying “XYZ started debugging this browser”?

This extension uses Chrome DevTools Protocol (CDP) (or rather, Brave’s additions to it) to show debugging information coming in from adblock-rust.

See PRIVACY.md for why the extension needs the permissions it does.

brave-core source:

Build

esbuild bundles src/*.ts; tsc --noEmit typechecks.

npm install
npm run build            # -> dist/, load unpacked from there
npm run build -- --minify
npm run typecheck

manifest.json and package.json versions must match (enforced by scripts/build.mjs).

Layout