I need to open a window when:
1 user leaves the site
2 when the browser is closed.
I tried the 'unLoad' event but it works only for the user leaves site case and not the browser close. Here is the code I tried:
<title>Detecting browser close </title>
myWin= open("exit_site.php", "exitWin", "width=50,height=50");
Neep your help, please