不被其他网站载入框架之内

有些网站例如收录类的网站会框架你的网站,那么如何解决呢?
<script language='JavaScript' type='text/JavaScript'>
//Made by 1st JavaScript Editor
//
http://www.yaldex.com
var fifteenth = 'http://yaldex.com'
if (document.referrer.indexOf(fifteenth) == -1) {
alert(
'You should come to this page from ' + fifteenth);
window.location
=fifteenth;}
</script>

posted on 2008-09-13 15:47  52Qin  阅读(188)  评论(0编辑  收藏  举报