onbeforeunload = function(){myScript};. In JavaScript, using the addEventListener() method: object.addEventListener("beforeunload", myScript);.
確定! 回上一頁