Firefox, all I do is click tools; options; content tab; set to block pop-up windows, with no exceptions.
It sounds like a buggy Firefox plug-in. Point Firefox at itself.
That is, go to
www.mozilla.org and re-download your 3rd party plug-ins.
Or, go to the SeaMonkey page, at Mozilla
http://www.seamonkey-project.org/ , and download that and try it.
It's quite good actually.
Hey ZW, the one I hate is at boot time.
"Keyboard error-press F1 to continue".