You can use a adblocking DNS server. Either a pi-hole in a VPS you control, or something like NextDNS (which I am really happy with).
It doesn't block everything, but almost nothing is getting through for me.
It doesn't block everything, but almost nothing is getting through for me.