BFilter was originally intended for removing banner ads only, but since then its capabilities have been greatly extended. Unlike most of the similar tools, it doesn't rely on blacklists (although it does support them). The problem with blacklists is that advertisers are always one step ahead. You see an ad slip through, you update your blacklist, and in case it didn't help, you add a new entry yourself, here BFilter would detect ads heuristically, much like modern anti-virus software manages to detect many viruses unknown to it.
Features
* HTTP/0.9 - HTTP/1.1, WebDAV support.
* Persistent connections (HTTP/1.1 only).
* Pipelining (HTTP/1.1 only).
* HTTP compression.
* Forwarding to another proxy (HTTP and SOCKS proxies).
* A built-in javascript engine.
* Heuristic Flash analyzer.
* Ability to apply regular expressions to a page.
* Blacklists, white-lists, hint lists.
* All processing is done on the fly. It doesn't load the whole page before processing.
Installation:
Download Linux autopackage for BFilter UI - here
Make it executable and execute it using command: ./bfilter-gui-1.1.4.x86.package
Using BFilter:
Using BFilter is very simple, go to terminal and type command: bfilter-gui to open up the application, here you can notice the bfilter icon in the system try, right click on the icon and select the configuration of type - Basic, Advance, Forwarding and Filter
Below example show the "Forwarding" setting for bfilter where Squid proxy server (cache server) sits between bfilter and Internet
After Bfilter configuration you also need to configure your web browser to point to Bfilter.
There are other ways to block Internet Advertisements:
Block Ads by using squid and Ad Zapper
Block Ads / Malware / Spyware using hosts file (Windows / Linux)
source:http://linuxpoison.blogspot.com/2010/05/13578167757686.html