I've found that nearly all the pop-ups I've encountered are from a very small handful of advert or marketing hosting companies. Killing access to their servers by editing my hosts file (system32\drivers\etc\hosts) means that whilst they may still come up occasionally, they certainly can't cause any more havoc, like bringing up another pop-up everytime you close it... I've had a wonderful idea recently of how to get rid of pop-ups forever, but since it has quite a high commercial viability, I'm not telling - sorry.