You can block new windows/popups from plugin/script from about
:config (in the address bar, enter)->right click->new->integer
enter, then whichever value for integer (0, 1, or 2)
0 = allow, 1 = treat as pop up (rules in GUI config apply), 2 = block
:config rules are cross platform in firefox/mozilla afaik.