Ad Scrubber!

Ad Scrubber is an open-source content filtering application for Safari that blocks third-party scripts and more than 25,000 websites that have been identified as serving ads or malware. Ad Scrubber can also be used as a platform for implementing custom content-filtering rules. Note that when loading Content Blocker rules, Safari may not implement very large or complex rule sets.