Hva med denne løsningen?
The whole idea is to stop execution of javascript in the frame/iframe which doesn't suppose to takeover parent frame/window.
First put this function between html head tags:
Kode:
<script>
function StopLoading()
{
if (!document.all)
{
window.stop();
}
else
{
window.document.execCommand('Stop');
}
}
</script>
Then just add onload event handler to iframe you want to supress, like this:
<iframe onload="StopLoading()" src="http://www.someaddress.com">
Kilde:
Web Hosting Anti Frame Breaker solution
og:
Preventing Frame Busting and Click Jacking (UI Redressing) « coderrr