What is this for?
hBlock is POSIX-compliant shell script, designed for Unix-like systems, gets a list of domains that serve ads, tracking scripts and malware from multiple reputable sources and creates a hosts file that prevents your system from connecting to them.
Is it safe to use?
Absolutely, this script selects only the domain names for each source, so if a domain name is redirected to a rogue server your system will not be affected. In the worst scenario you can lose access to a legitimate domain name due a false positive, but you can reverse it by adding that domain to the whitelist.
Use and Download:
Windows Download here: https://hblock.molinero.xyz/hosts_windows.zip
Android Download here: https://hblock.molinero.xyz/hosts_android.zip
npm install -g npx
git clone https://github.com/zant95/hBlock && cd hBlock
This script, by default, replaces the /etc/hosts file of your system. I am not responsible for any damage or loss, always make backups.