Comment faire un message de congé dans JavaScript
window.onbeforeunload = function(){
return 'Are you sure you want to leave?';
};
Ugliest Unicorn
window.onbeforeunload = function(){
return 'Are you sure you want to leave?';
};