Privoxy is a web proxy with advanced filtering capabilities for most annoyances you encounter when browsing the internet.