Ad-blockers are the best way to stop the unwanted mining. uBlock Origin still has the best IMO but I also run Adblock Plus alongside it.