onunload="if(self.screenTop > 9000) alert('Closed.') 这样我们就可以在这个事件当中,清除登陆信息了。 转载于:https://www.cnblogs.com/didasoft/archive/2005/01/24/96295.html