Show Popup Once Visit
User var myInterval = setInterval(function(){ if(!hasVideo && hasTime){ jQuery("#subscribe-btn").click(); clearInterval(myInterval); } }, 2000 show above popup once in one visiit Assistant To show the popup only once per visit, you can use `localStorage` to track whether the popup has already been displayed. Here's how you can modify your code: var myInterval = setInterval(function() { // […]