您无法修改 onbeforeunload 的默认对话框,因此您最好的选择是使用它。 window.onbeforeunload = function() { return 'You have unsaved changes!'; }.
確定! 回上一頁