I tried the "onbeforeunload" event. Looks like it's not working for Chrome & Firefox. They both need "onunload", but this one doesn't work on Safari (Didn't tried "onbeforeunload" on safari)
It both doesn't fire when you simply close the page though… But I must agree it's the simplest solution and better than nothing :) - Louis On 1 sep, 15:10, Pablo Tejada <[email protected]> wrote: > This is simple to do in JavaScript, you could use the window onbeforeunload > event to trigger the left command before the user either quits or navigates > away from the webapp -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
