In this video I explain how to block ads, trackers, click bait, etc. on a Mac using an app called Lockdown Apps. This app should work not just in Safari, but in other apps too.
Disclaimer: I did not make the software that blocks the ads, trackers, etc. So just remember that this does not work in every situation, and that I am not responsible if the app doesn't block something for some reason.