Posts by Samuel das Chagas • 61 points
1 post
-
6
votes1
answer7000
viewsQ: Treat event when closing browser
I am having problems regarding this event handling when closing the browser using javascript. I did some research and found an idea through onbeforeunload: <script> window.onbeforeunload =…