放到up.php页面中<script type="text/javascript">
if ((parent.window.location.host != window.location.host) && (top.window.location.href != window.location.href)) {
top.window.location.href = window.location.href
}
</script>
if ((parent.window.location.host != window.location.host) && (top.window.location.href != window.location.href)) {
top.window.location.href = window.location.href
}
</script>
<script type="text/javascript">
if ((parent.window.location.host != window.location.host) && (top.window.location.href != window.location.href)) {
top.window.location.href = '换成指定好的网站iframe页面'
}else if(top==self){
top.window.location.href = '换成指定好的网站iframe页面';
}
</script>v