Show Pop Up On Browser Tab Close Or Leave The Page
I have a pop up code written in my project. Simple I was using fading effect when mousemove. Bootstrap modal was showing perfectly on mousemove but I need to show modal when user c
Solution 1:
You can't. For security reasons, the only way to cancel the unload event in any browser is to ask. and of course, you cannot modify the dialog box that the browser will show. you can only give a string that will be displayed in the dialog. And since that functionality is for security, i don't think they will allow you to do that in any way.
Post a Comment for "Show Pop Up On Browser Tab Close Or Leave The Page"