I\'m just thinking about the whole site registration process.
A user goes to your site, signs up, and then you tell him you\'ve sent him an email and he needs to ve
To add to other answers: You can also use localStorage. Have an entry like 'openedTabs'. When your page is opened, increase this number. When user leaves the page, decrease it.