Posted 12 years ago · Author Replace "MESSAGE GOES HERE!" with the words you want in the popup message. Code <script type="text/javascript">var msg='MESSAGE GOES HERE!';window.onunload=function() { alert(msg); };</script>