Add some exceptions to adblock filtering

This commit is contained in:
Greg Hellings
2023-08-25 15:49:33 -05:00
parent 4727ab21e7
commit a71d945ba3
2 changed files with 14 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -ex
curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | sed '1,33d' > /etc/adblock_hosts
# Custom domains that I need to preserve for some reason
sed -i -e '/segment.com/d' /etc/adblock_hosts # Blocks Trelly content for house investors
sed -i -e '/segment.io/d' /etc/adblock_hosts # Blocks Trelly content for house investors
systemctl restart dnsmasq