<script type="text/javascript"> if(window !=top){ top.location.href=location.href; } </script> 这段代码应写到<head>标签中