by mbell · 8y ago · 0 comments
Click jacking is generally avoided by the `X-FRAME-OPTIONS` header or the CSP frame-ancestors option.
That sounds great; are there any other side benefits available?
Having said that, I see no reason to support Like buttons OR modals and I would be fine with millions of sites being forced never to use them. We know Facebook Like buttons are over-engineered trackers whose domains are best blocked at your router. And when modals are not being abused for things users don’t want, the remaining “good” uses for modals would still be better implemented as less-intrusive and more-asynchronous things (display a modeless background message with buttons, for example).