I\'m using a AutoSave feature on an online editor.
When an user leaves the page (detected with unload or beforeunload event), I\'m sending a AJ
unload
beforeunload