[READ-ONLY] Mirror of https://github.com/andrioid/ublproxy. andrioid.github.io/ublproxy
adblock adblock-plus-list adblocker privacy-tools proxy-server self-hosted

Replace matched HTML elements instead of CSS display:none injection master

Simple element-hiding selectors (.class, #id, tag, [attr]) are now matched during HTML tokenization and replaced with placeholder divs that strip all nested content (scripts, iframes, images). Complex selectors fall back to CSS injection. Blocked CONNECT requests now return 403 instead of 204 so browsers fail fast instead of hanging on the tunnel.