Firefox Ad Blocker
I recently installed the Firefox extension called Ad Blocker.
So far it's managed to be very effective at blocking banner ads and it doesn't seem to have blocked any content that should be there.
If you're not using Firefox, I recommend you install it and use it. Then install Ad Blocker after that.
It should cut down on spyware and malware.