設置如下:
window.top.opener ?= ?null; ?
window.top.close(); ?
--------------------------------------------------------------- ?
?
<input ?type=button ?value=關閉 ?onclick="window.opener=null;window.close()">??