if(window != top){ top.location.href = location.href; } 转载于:https://www.cnblogs.com/handongyu/p/6433675.html