I was looking into using cookies to do this but I want to know if it's possible and this seems like the best place to ask. My idea is, upon page load of any page on my site, check to see if a cookie is set, a name of my choosing. If so, then I would pop open my window. If it is set, I'd not run the function to pop open the window. I would also want the cookie to have a time set on it, like let's say 10 minutes, so that if the user wants to come back to the site, it would still pop that window up, if they haven't cleared their cookies yet.
Even further, if the user closes the player window, or their entire browser, is there a way to clear the cookie then or do I just have to use expiry to do this?
Is this feasible, and if so, is it a lot of work? Thanks!