document.addEventListener("mousemove", function (e) {
if (e.clientY <= 5 && !window.exitPopupShown) {
window.exitPopupShown = true;
try {
$w('#subscribePopup').show(); // ← This works with legacy popups
} catch(err) {
console.error("Popup could not open:", err);
}
}
});