A very elegant jQuery script to create a user-friendly exit intent popup using the Bootstrap 5 modal component. Compatible with both desktop and mobile.
How it works:
Desktop. The popup will automatically activate 10 seconds after the page has loaded.
Mobile. The popup will appear when you return to the home page (index.html).
After the popup is dismissed, it will not be displayed again until the next time you visit the page again.