如何使自己的网页不会被别人盗用(避免别人讲自己的网页嵌入到frame中)

来源:互联网 发布:泄露数据库下载 编辑:程序博客网 时间:2024/04/29 08:47

如何使自己的网页不会被别人盗用(避免别人讲自己的网页嵌入到frame中)

<html>
   <head>
        <script language='javascript'>
            function checkPage()
            {
                 if(top.location != self.location)
                          top.location = self.location;
            }
        </script>
  </head>
  <body>
  </body>
</html>