hehe...nice share man
anantgupta Reviewed by anantgupta on . [Javascript] Cross-Browser page close prompt <script language="JavaScript"> window.onbeforeunload = function (e) { var e = e || window.event; if (e) { e.returnValue = 'You'll be redirected to an external site. Do you wish to continue?'; } return 'You'll be redirected to an external site. Do you wish to continue?'; }; </script> Rating: 5