Need a method to catch the window close event even without user interacting with the web page for angular project
Tried using onbeforeunload, beforeunload, onload methods
Gone through articles that mentioned the browsers security reasons and the annoying popups even when there was no user interaction
New contributor
Rohith P is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.