强制反框架

强制反框架的,就是不想自己的网站被别人用FRAME

<script>

if(self!=top){

window.top.location.replace(self.location); 

}

</script>

发表评论:

Powered By Z-BlogPHP 1.7.1

Copyright Www.Niaoseo.Com Rights Reserved.