Every single ad belongs to hell!
This script generates a Blacklist for ad- and malwareblocking. Remove those ads without altering your browser-fingerprint, see the web as you like. Let it work on your Router for an adblocking-monster fixing the whole network behind it. Ever seen an ad-free Smartphone?
Since this script needs write-access to the hostfile defined in $ADNAME, it will most likely need root-privileges (sudo).
- Change into the target Git directory
- Execute 'git clone https://github.com/adhell-project/adhell.git'
- Read 'adhell.conf' carefully!
- Edit 'adhell.conf' to your needs
- Edit 'CONF' in adhell.sh to '/etc/adhell/adhell.conf' if we forgot it ;)
- Place files to the intended destinations
- Fetch the blocklist with 'sudo adhell.sh -g'
- Enjoy an almost ad-free Internet
- http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext
- http://someonewhocares.org/hosts/hosts
- http://www.malwaredomainlist.com/hostslist/hosts.txt
- http://winhelp2002.mvps.org/hosts.txt
- http://hosts-file.net/download/hosts.txt
- http://hosts-file.net/hphosts-partial.txt
- http://hostsfile.mine.nu/Hosts
adhell.sh {option}
-g || --generate
Start to generate the Blacklist in $ADNAME-r || --remove
Remove all blocked hosts in $ADNAME-c || --clean
Manually start cleaning after the script aborted. Use at your own Risk!-v || --version
Print the version-h || --help
Print the help message
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :)
- Pull from different adblock lists
- Work with functions
- Implement a visual feedback with
--generate
- Clean unnecessary code, make it pretty
- Put options in /etc/adhell/adhell.conf
- Implement logging
- Implement whitelisting (read /etc/adhell/README.txt for further information)
- Perform a pre-running check
Send us your suggestions for new features!
Upstream Code from https://github.com/vebenwtickler/macht-sinn