2
4
57
7702
6
0
首先我们要了解关闭和刷新所用到的事件 页面加载时只执行onload页面关闭时只执行onunload页面刷新时先执行onbeforeunload,然后onunload,最后on...