I wonder if instead of using an adblocker, blocking dns servers would be more flexible?
you mean using a DNS server that does not resolve known as+domains like pihole?
Yes., which would be more effective and flexible?