Use of navigator.sendBeacon instead of synchronous XMLHttpRequest during unload and pagehide improves user experience.
Ri rokisaxik navigator.sendBeacon pa ruk'exel synchronous XMLHttpRequest toq nisamäj chuqa' ri rewaxi ruxaq nrutzilaj retamab'al winäq.