Getting rid of popup windows for good

Shane Caraveo scaraveo at
Mon Aug 25 23:48:01 UTC 2014

On 2014-08-25 3:48 PM, Gavin Sharp wrote:
> How do most "pop-behinds" work? I've certainly seen those, and I have
> a hard time thinking of valid use cases for that behavior (they have
> been 100% annoyance in my experience).
> Someone figuring out how to block those would be great - probably
> relatively tricky.
Never looked into it, apparently the correct term is popunder.  A quick 
look at popunder scripts, seems they do this within a click event:

w =

I wonder why "open new windows in a tab instead" pref doesn't work on 
this...hmm, that is only link targets, not

> Gavin
> On Mon, Aug 25, 2014 at 2:48 PM, Shane Caraveo <scaraveo at> wrote:
>> On 2014-08-25 2:29 PM, Gijs Kruitbosch wrote:
>>> On 24/08/2014 18:30, Rimas Kudelis wrote:
>>>> Hi!
>>>> 11 years ago, Bug 212163 (Pop-ups are not blocked on code run from
>>>> onclick) was wontfixed.
>>>> Even today Firefox defaults to allowing any websites (even those
>>>> blacklisted by the user) to open any pop-up windows in response to any
>>>> of these events: change click dblclick mouseup reset submit touchend.
>>>> Now, I would like Mozilla to review that decision again, because the
>>>> situation has changed a lot in these years:
>>>> 1. the web has evolved, and legitimate use of real pop-ups seems quite
>>>> rare nowadays,
>>> Hi,
>>> You're using a different web from me, and many other users, clearly. I see
>>> very few if any unwanted popups, with my browser often open for multiple
>>> days and 0 unexpected windows appearing and/or remaining (pop-unders).
>>> I'm sure there are places where you never see "real" popups, but e.g.
>>> GMail provides primary UI to open compose/chat windows in their own (popup)
>>> windows, and I'm sure there are many similar examples. Then there are all
>>> the wifi gateway sites that open "you're logged in" popups, and so on.
>> I'll just toss in an extra example, sharing videos on youtube.
>> One site that does annoy me is seatguru (iirc), they do a pop-behind on
>> their search button click handler.  I see little use in poping up a window
>> that is hidden from the user until some time later when you discover it.
>> _______________________________________________
>> firefox-dev mailing list
>> firefox-dev at

More information about the firefox-dev mailing list