February 10, 2014
AdAndCrapBlock is a tool to download the AdAway host-files and merge it into the file /etc/hosts.
The hosts file is just a text file, used to map hostnames to IP adresses.
Read about Blocking Unwanted Connections with a Hosts File to understand how it works.
Installation of AdAndCrapBlock :
sudo apt-add-repository ppa:memoryleakx/adandcrapblock
sudo apt-get update
sudo apt-get install adandcrapblock
Applications > AdAndCrapBlock
Restart your browser to enjoy the blocked connections to ad and other crap servers.