Actually there is no way to find out when user will leave this site. Before Exit Popup tries to get user attention back to site by showing a popup when the cursor is moved to browser control tab. This plugin does not stop user from closing the browser or tab.