squid_redirect uses a list of patterns to zap annoying ad banners from
Web pages, inserting a placeholder image. It lives in a Web proxy and
so requires no special browser facilities. It's readily customizable,
small, fast, and easy to install.
(In Debian/Ubuntu, this program is named "adzapper".)