You could install the free
StevenBlack hosts
file on your computer. It plays tricks with your computer's DNS resolution, and makes it resolve ~100000 hosts like my.spamsite.com to localhost.
The owner of this repo coordinates a team of enthusiasts who try to keep up-to-date with the global spam-, advertising-, tracking-, gamble- and porn industry.
The team of volunteers classifies bad hosts and the collected works are in that hosts file.
Tagline of the repo:
Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
For details, read the extensive README documentation.
You need to put the file into C:\Windows\system32\drivers\etc\
. As far as I remember.
A tool to manage the hosts file would then be guumaster/hostctl -
Your dev tool to manage /etc/hosts like a pro!