if(parent.window.opener) { parent.window.opener.location='http://www.sogou.com/'; } 一直以为这段代码如果域不同无法通过,可实际证明是可以的,很是诡异。