5 ms·
A link with _blank + expected to change/interact with opener? Maybe there's a few, but most cross domain transports would use window.open() manually.
by homakov 11y ago
A link with _blank + expected to change/interact with opener? Maybe there's a few, but most cross domain transports would use window.open() manually.
- bzbarsky 11y agoWell, window.open() obviously has the same problem, with the same solution being proposed: the caller of window.open opts in to not allow the thing being opened to interact with it. We could have different default behaviors for the two cases, of course: opt-in for links and opt-out for window.open. But I still suspect that even just the link case is not as uncommon as one might wish. Happy to see data proving me wrong, though!