Hacker News new | ask | show | jobs
by psnehanshu 2038 days ago
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)

1 comments

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.