2019-11-12 09:40:19 卢浮宫 版权声明:本文为站长原创文章,转载请写明出处
直接贴代码吧
window.onbeforeunload = function (e) { e = e || window.event; if (e) { // do something... } };