Home > Q&A > body text
How to set up jquery or js to monitor web page refresh and browser closing
为情所困2017-05-16 13:40:03
window.onbeforeunload = function () {
//你的代码
}