location.replace(location.href) location.replace(parent.location.href) 转载于:https://www.cnblogs.com/bndy/archive/2010/07/02/1770094.html