The simplest way to intercept the user leaving the page is to define a handler for the beforeunload event directly. The HTML5 specification says ...
確定! 回上一頁