Hacker News new | ask | show | jobs
by leonkenneth 3799 days ago
If your target browsers support it, you can use the `sandbox` attribute and avoid supplying the `allow-top-navigation` flag to prevent this behaviour.

Granted, this won't prevent other framebusting techniques such as checking the parent before rendering.