top.location.replace(document.location)
alert(
    'For security reasons, framing is not allowed; click OK to remove the frames.'
    )
How to prevent my site page to be loaded via 3rd party site frame of iFrame