当用户卸载文档时执行JavaScript: <body onunload="myFunction()"> ... 在JavaScript 中,使用addEventListener() 方法: object.addEventListener("unload" ...
確定! 回上一頁