Recently purchased Adguard for Mac, after trialling a number of other solutions, and very happy with how it works to block ads and other pop-ups. I also liked that it is available as a one-off lifetime payment (there are currently some good discounts on Adguard website) as alternative to subscription.
I assume these are available for Safari. I’m not at my Mac to check nor use Safari in OS X. Anyways I use Ublock Origin in concert with Privacy Badger. The only thing better is using a script blocker. Unfortunately script blockers are a huge pain. As there are often many scripts you must enable for many websites to work.