If you're not using 1Blocker, I can highly recommend it. I use it on iOS and my Mac. While it only works with Safari, it's a pretty good shield against website poo. The latest update adds defense against bitcoin mining scripts.
I use it for more than just filtering hot garbage ads. Here's a simple 1Blocker rule to get rid of Secret Rune scripts. That's used by websites that like to intercept text selection so they can monetize every movement you make, like BoingBoing.
The nice thing about 1Blocker is that it syncs between the Mac and iOS using iCloud. Create a rule one place and you have it everywhere.
Check out their FAQ if you are curious why it's worth paying for a good blocking app and extension.