K-Meleon
Popup ads are one of the most annoying things about browsing the Web these days. These ads waste time and bandwidth and can create privacy and security concerns. K-Meleon provides you with a way to block most of these annoying ads.
To disable all popup and popunder windows on page loads or unloads:
Now browse to your favorite ad-popping website and test your settings. You should see a lot less of these windows.
To disable all popup and popunder windows using the privacy bar:
Mozilla's Configurable Security Policies provides a great deal of information on controlling windows to an even finer degree.
Customizing Preferences (from archive.org) explains how to implement the additional preferences outlined at the Mozilla site.