My client unfortunately is insisting on activating a pop-up when a reader goes to close the browser tab or window. You know the type of thing, one that activates when the mouse cursor goes near the close X for the tab or window.
Yes I know they are really annoying! The client is insisting.
Does anyone know how to implement this maybe with a little js?
I already have some js that controls the pop so that it only shows when the reader first visits the site, I adapted a cookie script that was meant to prevent the European cookie policy warning from showing more than once.