https://pricebosema12.blogspot.com/2024/05/js-check-if-webpage-is-closed.html
Js - Check If A Webpage Is Closed