6 ms·
Why would anyone ever want a pop-under for any reason? I would be satisfied with a solution that turned any pop-under into a pop-up.
by Athas 9y ago
Why would anyone ever want a pop-under for any reason? I would be satisfied with a solution that turned any pop-under into a pop-up.
- duskwuff 9y agoThat's actually an interesting point. I wonder how many sites would be broken by disabling methods that shift window focus, like Window.focus() and Window.blur()? Probably not many...
- sk0g 9y agoEvery bank website I've used so far does forced pop ups, as well as websites that want you to authenticate yourself using some other service (such as Google, or Facebook.)
- chrisbennet 9y agoPop ups are reasonable. The pop unders are what google is saying are user unfriendly.
- sk0g 9y agoThey might be, but the person I was replying to wanted to disable all methods that shift window focus. It won't work, at least as of right now.
- duskwuff 9y agoWhen a window is created (with Window.open, or from a link with target="_blank"), it implicitly gets focus. That part wouldn't change.
- bsder 9y ago> Every bank website I've used so far does forced pop ups But why do they do this? I have yet to have someone give me a good explanation.
- smt88 9y agoWhen it comes to web software at banks, there's rarely a good reason "why". They build some of the worst garbage you can find.
- sk0g 9y agoNo idea. It just gets caught by the pop-up blocker for me. I end up just copy-pasting the URL over into a new tab, somehow.
- janekm 9y agoIt's done to escape from iFrame jail attempts. Rogue site loads bank site in iFrame, end user types in their password...
- ams6110 9y agoBrowsers are not supposed to let javascript access the DOM or events in a cross-domain iframe, is that not correct?
- rypskar 9y agoIsn't it easier to set X-Frame-Options to deny or sameorigin?
- duskwuff 9y agoYes, absolutely. But that didn't work on some older browsers (like MSIE7 and earlier), so some sites settled on weird "solutions" like this one...
- oh_sigh 9y agoA lot of times you see self-closing popunders, which are almost always just poor design, but you might break a lot of old websites if you block pop unders.