一 22
如何禁止自己的页面在别人的框架里打开
JS/AJAX38 views
把以下代码加至你的<head>区
<script>
if (window.top!=self){
window.top.location=self.location
}
</script>
Tags: javascript
Leave a Reply
You must be logged in to post a comment.
把以下代码加至你的<head>区
<script>
if (window.top!=self){
window.top.location=self.location
}
</script>
You must be logged in to post a comment.
近期评论