2014-09-20 14 views

回答

0

你可以處理關閉標籤,刷新頁面,更改頁面onbeforeunload像:

window.onbeforeunload = function(e) { 
    return 'Dialog text here.'; 
};