There is a browser extension for Firefox and Google Chrome called Popup Blocker (strict) that will do that.
Thank you! It works really well.
why would you want to do that? ads are very bad, block all ads.
normal ads don't even bother and they help the website
Toggle pop ups.....