Skip to main content

Capturing window close event in firefox

1 reply [Last post]
aditibarua
Offline
Joined: 2008-10-29

hi

i am developing an application in java
i need to capture the event which is called
when i try to close the firefox browser

so that i can call my logout function
when the browser is closed.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mbien
Offline
Joined: 2007-04-29

I also thought about that topic. The out of process functionality for applets could make it possible to call home even if the browser is already closed.
This should of course be restricted to only a handfull of seconds after the browser is down since we don't want to transform applets into demon processes ;-)

I think this could be a quite usefull feature for some usecases.