How detect close browser when conference is running in Jitsi Meet

How detect close browser when conference is running in Jitsi Meet
I’am stuck in this about 5 hours