Stackoverflow включает некоторые JS для тестирования (master.js
). Это его часть:
if(top!=self){
top.location.replace(document.location);
alert("For security reasons, framing is not allowed; click OK to remove the frames.")
}
Но имейте в виду, что JS можно отключить.