javascript - Detect Close windows event by Jquery -
could please give me best way detect only window close event all browsers jquery?
i mean clicking x button on browser or window.close(), not meaning f5, form submission, window.location or link. looking many threads have not found right way.
thanks support.
there no specific event capturing browser close event.
you can capture on unload of current page.
by method, effected while refreshing / navigating current page.
even calculating of x y postion of mouse event doesn't give result.
Comments
Post a Comment