if(window.opener){ window.opener.location.reload(); window.close(); }io
若是當前窗口是由另外一個窗口打開的, window.opener保留了那個窗口的引用. 若是當前窗口不是由其餘窗口打開的, 則該屬性返回 null.引用