I use a personal proxy for that (blocking banners and some images), Proxomitron.
http://www.proxomitron.org/
You can easily have it do exactly what you're looking for (and whatnot else). Its size seems to be about 1.7MB.
There are other proxies as well (search these forums) and probably some user preferences, but I haven't been able to find them.