Possible to detect if a user has multiple tabs of your site open?

后端 未结 8 2257
执念已碎
执念已碎 2020-12-05 02:10

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

8条回答
  •  旧时难觅i
    2020-12-05 03:07

    You can stop the page functionality when user opened another tab or another window or even another browser

    $(window).blur(function(){
        // code to stop functioning or close the page  
    });
    

提交回复
热议问题