insurance facebook page

How do I get rid of new .. pop-ups?
So when Im on a master page .. Facebook say .. opens another window with a sign motor insurance, pornography, games, and so on. Its not a new tab, its a new window in the bottom of my screen .. How I prevent them? It used to be able to have only one window open (eg Facebook) .. .. and it would be nice, but now, after a while, it opens another window, and he closes, another opens below .. and Soo annoying! I am using Mozilla Firefox .. and I downloaded the Adblock or something, but its only the little pop ups turned off, not the main windows .. Help, anyone? Please – thanks!
Go to tools then pop ups and click blocker high. you probably in the means.
F*CK You Walmart!