防止别人"框"你的网页的一种解决方案,超简单 if (top.location != self.location) { this.location=self.location;} 把上面的这段代码加入到你的Page就OK了。