Some developers have found ways to get round some of the ways firefox blocks them. Though I've yet to personally see a true popup with the current version of firefox, only those that appear from having flash enabled.
You can reduce the amount of adverts by installing the Adblock Plus extension.