This repository helps you to improve your privacy and security by making a list of websites that are to be blocked which track the user advertisements. Providing advertisements is not a problem, as it helps the creator gain money, but its not right to track the user. As it cannot be distinguished, we try to block all the ads for our privacy and security concerns.
We accumulate the websites from different repositories and ours to make a list that contains a large number of websites. The repository that are included in the list will be mentioned in the references section.
The list can be used in many tools. The tools vary from browser based to hosts file.
-
uBlock Origin
-
uMatrix (Made by the same dev of uBlock, but provides advanced features)
-
AdGuard
- AdGuard Home - Can also be used as system-wide in desktops.
- Pi-hole
- For Windows use Hostman to edit the hosts file. Or can be edited manually, the hosts file is located at
c:\Windows\System32\Drivers\etc\hosts
. - For Linux use hBlock. Or to edit manually, hosts file is located at
/etc/hosts
. - For Mac use Gas Mask to edit the hosts file. Or as it is a Unix-Based system the hosts file is located at
etc/hosts
- For Android use Blokada or AdGuard. You can use Energized Protection to edit the hosts from the terminal (And they also provide a good and extensive hosts list).
To convert the list to HOSTS
awk '{ printf "0.0.0.0"; print }' Block_List.txt > HOSTS.txt
To Compare the present list with a new list, get the uncommon addresses and append it to the present list.
comm -13 <(sort Block_List.txt) <(sort hosts.txt) >> Block_List.txt
To remove blank space in the beginning of the file
sed 's/ //g' hosts.txt > hosts_duplicate.txt
To remove 0.0.0.0 (or) 127.0.0.1 from the HOSTS file
awk '{ if($1=="0.0.0.0" || $1=="127.0.0.1") {$1= ""}; print }' hosts_duplicate.txt > hosts.txt
To delete the lines that start "#"
sed '/^#/d' Block_List.txt > hosts_duplicate.txt
https://github.com/TheUpBeat/Firewall-Lists
- Make a list specifically for mobile devices.
- Firewall Config
- https://github.com/badmojr/1Hosts
- https://tgc.cloud/downloads/
- https://github.com/vokins/yhosts
- https://github.com/hectorm/hblock
- https://github.com/StevenBlack/hosts
- https://github.com/deathbybandaid/piholeparser
- https://www.github.developerdan.com/hosts/
- https://someonewhocares.org/hosts/
- https://github.com/jmdugan/blocklists
- https://github.com/anudeepND/blacklist
- https://github.com/jdlingyu/ad-wars/
- https://github.com/PolishFiltersTeam/KADhosts
- https://block.energized.pro/blu/formats/hosts