Answer the question
In order to leave comments, you need to log in
Pop-up window that appears when leaving the site - show an example? Is it possible to make a poll in it?
Can you send an example of a pop-up window that appears when you leave the site?
Answer the question
In order to leave comments, you need to log in
If the standard warning is
window.onbeforeunload = popup;
function popup() {
return 'I see you are leaving the site';
}
It is possible to show only a pseudo-modal (via DIV) on moving the mouse out of the page. And already inside - you can do whatever you want.
You can combine: display a survey on mouse release and show a window on onbeforeunload: "Help us improve the site?" (Not really)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question