Alıntı
if(window.top.location == window.location){
alert('Frame içinde değil');
}else{
alert('Frame içinde');
}
Çalışması lazım. Denemedim.