Skip to content

Commit

Permalink
added hit.stat24.com to blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
blocklist committed Jul 29, 2024
1 parent 794def5 commit 980c257
Show file tree
Hide file tree
Showing 22 changed files with 81,424 additions and 84,085 deletions.
34 changes: 5 additions & 29 deletions blocklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
! Issue tracker: https://github.com/ph00lt0/blocklists
! Homepage: https://github.com/ph00lt0/blocklists
! Description: Blocklist for Stats and any analytics, lottery, bug trackers, ads, data brokers, font content delivery networks and consent management
! Version: 20220723

||statistiek.rijksoverheid.nl^
||rtcstats-server.jitsi.net^
Expand Down Expand Up @@ -1391,7 +1390,6 @@
||cihost.uberflip.com^
||ufa.uberflip.com^
||ml314.com^
||static.chartbeat.com^
||tribl.io^
||code.etracker.com^
||openx.net^
Expand Down Expand Up @@ -3572,8 +3570,6 @@
||lfeeder.com^
||sc.lfeeder.com^
||o55869.ingest.sentry.io^
||x.clearbitjs.com^
||grow.clearbitjs.com^
||clearbitjs.com^
||fastmail.innocraft.cloud^
||img3.usefathom.com^
Expand Down Expand Up @@ -6115,7 +6111,7 @@ $removeparam=afftrack
||audienceproject.com^
||adbility-media.com^
||analytics.tacticaltech.org^
||.yume.com^
||yume.com^
||analytics.zoho.com^
||zendrive.com^
||zapr.in^
Expand Down Expand Up @@ -6448,7 +6444,6 @@ $removeparam=afftrack
||cuebiq.com^
||count.ly^
||measurementsys.com^
||.cooladata.com^
||conversantmedia.com^
||comscore.com^
||colocator.net^
Expand Down Expand Up @@ -6589,7 +6584,6 @@ $removeparam=afftrack
||api.crittercism.com^
||appload.ingest.crittercism.com^
||txn.ingest.crittercism.com^
||-ssl.apsalar.com^
||e.apsalar.com^
||brahe.apptimize.com^
||md-a-c.apptimize.com^
Expand Down Expand Up @@ -6631,8 +6625,8 @@ $removeparam=afftrack
||cloudmobi.net^
||logger.cloudmobi.net^
||vast.cloudmobi.net^
||.chartbeat.com^
||.chartbeat.net^
||chartbeat.com^
||chartbeat.net^
||ad.cauly.co.kr^
||devices.carnivalmobile.com^
||bugly.qq.com^
Expand Down Expand Up @@ -12619,7 +12613,6 @@ www.yeeuu.com##+js(rc, modal-open, html, stay)
||cdn.headwayapp.co^
||knowler.io^
||app.knowler.io^
||ws.qualified.com^
||qualified.com^
||selfishsnake.com^
||champagne.futurecdn.net^
Expand All @@ -12630,7 +12623,6 @@ www.yeeuu.com##+js(rc, modal-open, html, stay)
||appfire.app^
||sp.mail.notion.so^
||viapplogs.net^

||metric.gstatic.com^
||document360.io^
||cdn.document360.io^
Expand Down Expand Up @@ -12920,21 +12912,12 @@ $removeparam=engagement_type
||generalmobi.com^
||evrythng.com^
||jnn-pa.googleapis.com^
||0.0.0.1^

||0033000.com^

||0318media.nl^

||083950260099-attachments.s3.us-east-2.amazonaws.com^

||0914.global.ssl.fastly.net^
||0972cce1bc.com^


||0cf.io^


||0i0i0i0.com^
||0ps.us^
||10.240.0.27^
Expand Down Expand Up @@ -15668,7 +15651,6 @@ $removeparam=engagement_type
||cni-digital.map.fastly.net^$badfilter # gq-magazin.de
||cnnx.io^
||co-buying.com^

||commbox.io^
||contentstack.com^$badfilter # image cdn
||controq.com^
Expand Down Expand Up @@ -17257,7 +17239,6 @@ mijn.intwente.nl##mijn-feedback
||bid.aero^
||midas-network.com^
||storygize.net^
||.smartadserver.com^
||x.bidswitch.net^
||st-n.ads1-adnow.com^
||st-n.ads2-adnow.com^
Expand Down Expand Up @@ -17917,7 +17898,6 @@ happysocks.com##+js(rc, disabled, header, stay)
||marketlinc.com^
||visitor-scoring-c.marketlinc.com^
||app.clearbit.com^
||app.qualified.com^
||core.thepointyspritesclub.com^
||rs.fullstory.com^
||mutinyhq.io^
Expand All @@ -17927,8 +17907,6 @@ happysocks.com##+js(rc, disabled, header, stay)
||user-data.mutinycdn.com^
||web-sdk-cdn.singular.net^
||cdn.pdst.fm^
||.clearbitjs.com^
||js.qualified.com^
||techtarget.com^$badfilter # podcast cdn
||s.pinimg.com^$badfilter # Pinterest
||pixel.pointmediatracker.com^
Expand Down Expand Up @@ -20107,7 +20085,7 @@ desk.zoho.in##.micsTop
||taxrefund.click^
||oerjefomwwoeimdroewp1.info^
||documenten.me^
||.aangirewer823.info^
||aangirewer823.info^
||lin-k.cc^
||iccscem.ac.in^
||jpeg.ly^
Expand Down Expand Up @@ -20772,7 +20750,6 @@ bol.com##.smartbanner
||corewebvitals.io^
||tms.oracle.com^
||oracle.com/visitorinfo^
||.qualified.com^
||rate2self.com^
||driftt.com^
||salesforce-scrt.com^
Expand Down Expand Up @@ -20807,7 +20784,6 @@ bol.com##.smartbanner
||dilka.xcdn.nl^$badfilter # CDN
||milkymouse.com^
||arounddeal.com^
||.huaweicloud.com^
||petalsearch.com^
||partnerlinks.io^
||opensiteexplorer.org^
Expand Down Expand Up @@ -21368,7 +21344,6 @@ lidl.nl##.n-navigation__overlay-area
||hetpartnerschap.nl^
||jmailroute.net^
||cloudflare-ipfs.com^
||.prosperbiz-websites.nl^
||prosperbiz-websites.nl^
||prosperbiz.com^
||ppt.cc^
Expand Down Expand Up @@ -22115,3 +22090,4 @@ plein.nl##body:style(overflow: auto!important)
||formito.com^
||friendbuy.com^
||getnotify.com^
||hit.stat24.com^
12 changes: 1 addition & 11 deletions delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,22 @@ if [ "$mistake" == "[A" ]; then
fi

declare blocklist="./blocklist.txt"
declare piholeBlocklist="./pihole-blocklist.txt"
declare rpzBlocklist="./rpz-blocklist.txt"
declare unboundBlocklist="./unbound-blocklist.txt"

declare mistake=$(echo $mistake | sed -E 's/^\s*.*:\/\///g') # remove any https:// or http://.
declare mistake=$(echo $mistake | sed 's:/*$::') # remove any trailing slash.

declare author=$(git config user.name)

declare blocklistRule="||$mistake^"
declare piholeBlocklistRule="0.0.0.0 $mistake"
declare rpzBlocklistRule="$mistake CNAME ."
declare unboundBlocklistRule="local-zone: \"$mistake.\" always_null"


# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "checking for updates..."
git pull origin master && git pull github master

if grep -q $blocklistRule "$blocklist"; then
sed -i '' "/$blocklistRule/d" $blocklist
sed -i '' "/$piholeBlocklistRule/d" $piholeBlocklist
sed -i '' "/$rpzBlocklistRule/d" $rpzBlocklist
sed -i '' "/$unboundBlocklistRule/d" $unboundBlocklist
python3 ./ls-delete.py $domain
python3 ./update-blocklists.py
git commit -am "Mea culpa, $author made a mistake: $mistake now removed from blocklist" && git push origin master && git push github master
else
echo "$domain rule corrected before you"
Expand Down
14 changes: 2 additions & 12 deletions delist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,14 @@ else


declare blocklist="./blocklist.txt"
declare piholeBlocklist="./pihole-blocklist.txt"
declare rpzBlocklist="./rpz-blocklist.txt"
declare unboundBlocklist="./unbound-blocklist.txt"

declare domain=$(echo $domain | sed -E 's/^\s*.*:\/\///g') # remove any https:// or http://.
declare domain=$(echo $domain | sed 's:/*$::') # remove any trailing slash.
declare domain=$(echo $domain | sed 's/www.//g') # remove www. if present.

declare blocklistRule="||$domain^"
declare allowedRule="||$domain^\$badfilter"
declare piholeBlocklistRule="0.0.0.0 $domain"
declare rpzBlocklistRule="$domain CNAME ."
declare unboundBlocklistRule="local-zone: \"$domain.\" always_null"

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "checking for updates..."
git pull origin master && git pull github master
Expand All @@ -50,11 +43,8 @@ else
echo "$domain rule delisted before you"
else
sed -i '' "s/$blocklistRule/$allowedRule # $reason/g" $blocklist
sed -i '' "s/$piholeBlocklistRule/! allow $domain reason: $reason/g" $piholeBlocklist
sed -i '' "s/$rpzBlocklistRule/; allow $domain reason: $reason/g" $rpzBlocklist
sed -i '' "s/$unboundBlocklistRule/# allow $domain reason: $reason/g" $unboundBlocklist
python3 ./ls-delete.py $domain
git commit -am "delisted $domain in blocklist" && git push origin master && git push github master
python3 ./update-blocklists.py
git commit -am "delisted $domain in blocklist" && git push origin master && git push github master
fi
else
echo "$domain domain not present"
Expand Down
1 change: 0 additions & 1 deletion insert-3p.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ if [ "$domain" == "[A" ]; then
exit
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "$domain rule already present"
else
Expand Down
14 changes: 1 addition & 13 deletions insert-bulk-by-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ declare domainInsertList="./domains-to-insert.txt"
declare domains=$(cat $domainInsertList)

declare blocklist="./blocklist.txt"
declare piholeBlocklist="./pihole-blocklist.txt"

if [ "$domains" == "" ]; then
echo "No domains provided in file domains-to-insert.txt"
Expand All @@ -19,31 +18,20 @@ for domain in ${domains//,/ }; do
declare domain=$(echo $domain | sed 's:/*$::') # remove any trailing slash.
declare domain=$(echo $domain | sed 's/www.//g') # remove www. if present.

declare rpzBlocklist="./rpz-blocklist.txt"
declare unboundBlocklist="./unbound-blocklist.txt"

declare blocklistRule="||$domain^"
declare allowedRule="||$domain^\$badfilter"
declare piholeBlocklistRule="0.0.0.0 $domain"
declare rpzBlocklistRule="$domain CNAME ."
declare unboundBlocklistRule="local-zone: \"$domain.\" always_null"

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $allowedRule "$blocklist"; then
echo "${domain} whitelisted"
return
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "$domain rule already present"
else
python3 ./ls-insert.py $domain
printf "$blocklistRule\n" >> "$blocklist"
printf "$piholeBlocklistRule\n" >> "$piholeBlocklist"
printf "$rpzBlocklistRule\n" >> "$rpzBlocklist"
printf "$unboundBlocklistRule\n" >> "$unboundBlocklist"
echo "$domain added"
python3 ./update-blocklists.py
fi
done
git commit -am "added domains in bulk to blocklist" && git push origin master && git push github master
Expand Down
14 changes: 1 addition & 13 deletions insert-bulk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
read -p "Enter the domains, comma seperated, you wish to add:" domains

declare blocklist="./blocklist.txt"
declare piholeBlocklist="./pihole-blocklist.txt"

if [ "$domains" == "" ]; then
echo "No domain provided."
Expand All @@ -19,30 +18,19 @@ for domain in ${domains//,/ }; do
declare domain=$(echo $domain | sed 's:/*$::') # remove any trailing slash.
declare domain=$(echo $domain | sed 's/www.//g') # remove www. if present.

declare rpzBlocklist="./rpz-blocklist.txt"
declare unboundBlocklist="./unbound-blocklist.txt"

declare blocklistRule="||$domain^"
declare allowedRule="||$domain^\$badfilter"
declare piholeBlocklistRule="0.0.0.0 $domain"
declare rpzBlocklistRule="$domain CNAME ."
declare unboundBlocklistRule="local-zone: \"$domain.\" always_null"

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $allowedRule "$blocklist"; then
echo "${domain} whitelisted"
return
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "$domain rule already present"
else
python3 ./ls-insert.py $domain
printf "$blocklistRule\n" >> "$blocklist"
printf "$piholeBlocklistRule\n" >> "$piholeBlocklist"
printf "$rpzBlocklistRule\n" >> "$rpzBlocklist"
printf "$unboundBlocklistRule\n" >> "$unboundBlocklist"
fi
done
python3 ./update-blocklists.py
git commit -am "added domains in bulk to blocklist" && git push origin master && git push github master
4 changes: 0 additions & 4 deletions insert-ebay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ read -p "Enter the tld that you want to add:" tld


declare blocklist="./blocklist.txt"
declare piholeBlocklist="./pihole-blocklist.txt"

declare countryCode=$(echo $tld | sed 's/.*\.//') # remove .com, .co etc

Expand All @@ -23,15 +22,13 @@ for domain in "${domains[@]}"; do
echo $domain
declare blocklistRule="||$domain^"
declare allowedRule="||$domain^\$badfilter"
declare piholeBlocklistRule="0.0.0.0 $domain"

# Check whitelist
if grep -q $allowedRule "$blocklist"; then
echo "$domain whitelisted"
continue
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q $blocklistRule "$blocklist"; then
echo "$domain rule already present"
else
Expand All @@ -41,7 +38,6 @@ for domain in "${domains[@]}"; do
echo "$domain rule added before you"
else
printf "$blocklistRule\n" >> "$blocklist"
printf "$piholeBlocklistRule\n" >> "$piholeBlocklist"
fi
fi
done
Expand Down
1 change: 0 additions & 1 deletion insert-filter-filename-domain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ if [ "$path" == "" ]; then
exit
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q "$blocklistRule" "$blocklist"; then
echo "Rule already present"
else
Expand Down
1 change: 0 additions & 1 deletion insert-filter-filename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if [ "$filename" == "" ]; then
exit
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q "$blocklistRule" "$blocklist"; then
echo "Rule already present"
else
Expand Down
1 change: 0 additions & 1 deletion insert-filter-remove-class.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ if [ "$elm" == "" ]; then
exit
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q "$blocklistRule" "$blocklist"; then
echo "Rule already present"
else
Expand Down
1 change: 0 additions & 1 deletion insert-filter-remove-cookie.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ if [ "$ref_cookie" == "" ]; then
exit
fi

# Only check for default blocklist as pihole list should contain same domains.
if grep -q "$blocklistRule" "$blocklist"; then
echo "Rule already present"
else
Expand Down
Loading

0 comments on commit 980c257

Please sign in to comment.