Report question

Question: Any way to check if someone has closed their browser using Javascript/PHP?