測試監聽beforeunload事件有兩種方式,因瀏覽器實做方式不同,所以會有不同結果:. window.addEventListener('beforeunload', function(event) {}) ...
確定! 回上一頁