Como pedir licença em JS
window.onbeforeunload = function(e) {
return "Do you want to exit this page?";
};
it's Devyansh
window.onbeforeunload = function(e) {
return "Do you want to exit this page?";
};