Checking for popups (popups... -.-)

Ok. My client wants me to make a traffic exchange for him, not one of my favorite jobs, but whatever. Traffic exchanges are notorious for pop ups of some sort(pop ups, pop unders, pop exits. whatever.)

I was wondering if theres anyway to check if pop ups are popping up. I dont think you can do it through serverside, but i dont know.

Theres a top frame, but dont know if that means you can monitor the bottom frame.