Re:Ask HN: Why can't web browsers block pop-ups?
by psnehanshu on Thursday November 26, 2020 @03:55PM
(#25223466)
It's hard to always tell when you should or shouldn't block a pop-up. Many browsers tried to solve this by blocking new windows being automatically opened if a click didn't happen just a little before it.
Necessary use cases of pop-up windows, one is oauth login (sign in with Google/Facebook/Twitter)
Re:Ask HN: Why can't web browsers block pop-ups?
by tabob on Thursday November 26, 2020 @04:06PM
(#25223524)
At the absolute very least every single web browser should have the ability to ask:
* if you want to allow the pop-up * if you want to allow a site to open a new window/tab * if you want to allow a site to open a new pop-under window
This really shouldn't require special Greasemonkey scripts, block lists or commercial extensions. 99% of the time the user does not want that pop-up/pop-under/modal dialogue.
I'm starting to think that developers at almost all browsers are bribed by advertisers to allow these dark patterns.
Why is this still acceptable behavior? It has zero benefit to any end user.