/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> window.onbeforeunload = function(e){ return 'En fermant cette page vous perdrez tout.'; } </script>