- ru-webdev.livejournal.com 3061013.htmlОднако проблема в том, что события onunload и onbeforeunload возникают не только при закрытии окна браузера...
- vk.com @scienceandlive-reshaem-problemu-milliona-…window.onbeforeunload = function () {. ... Закрытие вкладок вызывает в современных браузерах событие onbeforeunload. Мы обрабатываем его следующим образом
- twitter.com _dev_code_/status/1512382584721969153... On the body tag, use the 'onbeforeunload' Attribute to warn users that changes will be lost if they leave the website.
- ru-csharp.livejournal.com 188558.htmlТак же размещал вызов в теге body ([body onbeforeunload='CustomLogoff()']) Вызов функции не осуществляется.