<div dir="ltr"><div>I mostly come across legitimate popups, but they also seem whitelistable. However, this breaks the flow of the page and you sometimes will have to reload to get the full benefit, depending on how the popup was meant to be used.</div>

<div><br></div><div>Am I correct in assuming that this is for popups and not for open-in-new-tab (which window.open can also be used for)? Just as it's pretty common to manually wire up "smart" links that use `document.location` and click handlers, it's also somewhat common to do the same for middle click, I <i>just</i> wrote a patch for rustdoc which uses window.open in response to a click event for making middle-click on certain things work -- if window.open as a whole was blocked, this would get in the way of sites which use JS for opening things in new tabs.</div>

<div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">-Manish Goregaokar</div></div>
<br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 4:40 AM, L. David Baron <span dir="ltr"><<a href="mailto:dbaron@dbaron.org" target="_blank">dbaron@dbaron.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Monday 2014-08-25 15:48 -0700, Gavin Sharp wrote:<br>
> How do most "pop-behinds" work? I've certainly seen those, and I have<br>
> a hard time thinking of valid use cases for that behavior (they have<br>
> been 100% annoyance in my experience).<br>
> Someone figuring out how to block those would be great - probably<br>
> relatively tricky.<br>
<br>
</div>Another possibility for pop-behinds (and perhaps popups in general)<br>
is to close any popups that the user hasn't interacted with when the<br>
user leaves the site (for some definition of site that's probably<br>
broader than single page) by navigating away or closing the tab.<br>
<span class="HOEnZb"><font color="#888888"><br>
-David<br>
<br>
--<br>
𝄞   L. David Baron                         <a href="http://dbaron.org/" target="_blank">http://dbaron.org/</a>   𝄂<br>
𝄢   Mozilla                          <a href="https://www.mozilla.org/" target="_blank">https://www.mozilla.org/</a>   𝄂<br>
             Before I built a wall I'd ask to know<br>
             What I was walling in or walling out,<br>
             And to whom I was like to give offense.<br>
               - Robert Frost, Mending Wall (1914)<br>
</font></span><br>_______________________________________________<br>
firefox-dev mailing list<br>
<a href="mailto:firefox-dev@mozilla.org">firefox-dev@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/firefox-dev" target="_blank">https://mail.mozilla.org/listinfo/firefox-dev</a><br>
<br></blockquote></div><br></div>