If your popup blocker isn't too effective, here is a solution to block ads (found it on hellboundhackers.com)
Go to C:\WINDOWS\system*2\drives\etc
Find the file named hosts, and open it with notepad or another text editor
Hosts.txt is a file that your Internet looks to for connecting to a certain site before trying to get it from the DNS. It is usually edited by a) Internet hijacking malware/spyware or b) people who want to speed up load times on their computer for Internet sites
Well, to end this, you can look at the syntax. It should say *27.0.0.*, then beside it localhost. Now you have to find the site where the ads are coming from. Suppose it is ads.adsmore.com. Put the following line in the hosts file
ORCode:*27.0.0.* ads.adsmore.com
This will cause a loopback to your local machine, and will not display the ad.Code:0.0.0.0 ads.adsmore.com