Closed vikas-kmr1 closed 2 years ago
hey @Daksh777
i tried very hard but not able to delay or stop reload untill user permission from swal or custom meaasages.
read more here:
https://stackoverflow.com/questions/38879742/is-it-possible-to-display-a-custom-message-in-the-beforeunload-popup
so i fix the issue with browser default pop up message.
Currently, on every reload, the user is being asked if they want to leave the website. However, the pop up should only be made when the user has selected a timer (you can use onclick event listener on the buttons for this)
@Daksh777 resolved
🛠️ Fixes Issue #123
👨💻 Changes proposed
✔️ Check List (Check all the applicable boxes)
📷 Screenshots
📄 Note to reviewers (optional)