brwoser prompt sebelum muat ulang

window.onbeforeunload = function(){ return 'Do you want to reload the page?';}
popo