Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
1–10 of 84 posts
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#2It might not amount to good UX practices but it's not malware or a dark pattern either.
Besides, if at all possible most browser vendors try to be backward compatible. There are many applications out there that make ample use of pop-up dialogues. There's no need to break those just because they don't provide a stellar UX.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#3They've also been restyled to make it obvious they're a prompt from the website not from safari itself.
Also, there are legitimate uses for this functionality, so as with many things I think the solution is not to remove the functionality, just improve the implementation.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#4Safari has actually changed behaviour so alert/prompt/confirm dialogs are not modal outside of the tab - you can switch to other tabs and I believe even close the window/tab. They've also been restyled to make it obvious they're a prompt from the website not from safari itself. Also, there are legitimate uses for this functionality, so as with many things I think the solution is not to remove the functionality, just…
Firefox does this too.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#5Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#6The worst things a browser can do come from javascript, so having a whitelist is useful. Remove anyone from your whitelist that is engaging in behavior you disapprove of.
I don't let facebook run scripts on my machines because I disagree with their philosophy of selling user data to the highest bidder, and tracking everything users do. That's too intrusive so I simply disallow them access.
No site that calls in too many javascript packages is given any privs on my computer.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#7Safari has actually changed behaviour so alert/prompt/confirm dialogs are not modal outside of the tab - you can switch to other tabs and I believe even close the window/tab. They've also been restyled to make it obvious they're a prompt from the website not from safari itself. Also, there are legitimate uses for this functionality, so as with many things I think the solution is not to remove the functionality, just…
> Safari has actually changed behaviour so alert/prompt/confirm dialogs are not modal outside of the tab - you can switch to other tabs and I believe even close the window/tab. Firefox does this too.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#8If you want websites to be able to be dynamic at all, then they can use that power to be annoying. Two sides of the same coin.
(the history thing seems like it might be more addressable)
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#9It's 2016 and Microsoft is incapable of creating a reliable cross-site login system. Instead, we still have the disastrous mess that is live.com. Minimum 2 redirects - at least 1 of which is Javascript (seriously?) - to handle a simple login. And when your cookies go a bit wonky, you won't even be able to browser the MSDN site to look up technical details. You have to manually clear your cookies. Again.
Re: Ask HN: Why do browsers still support pop up dialogs and other bad behavior?
#10It's not possible to prevent applications from creating modal dialogs and still allow them to be usefully interactive. If you took away `alert` and friends, sites would (and do) just create dialogs with HTML instead. If you want websites to be able to be dynamic at all, then they can use that power to be annoying. Two sides of the same coin. (the history thing seems like it might be more addressable)