i don't like the way you use "window.onbeforeunload" to force the browser to warn "Changes you made may not be saved." when the chat app is closed.
When i want to exit Chrome, this interrupts the shutdown and can cause me to lose tabs and windows.
If i had typed a reply and hadn't yet sent it the warning would be very helpful.
Otherwise I think it's a bad user experience.
댓글을 남기려면 로그인하세요.