How do I do thing before closing app?
Example: When someone close my app by task manager, app do ajax post to URL.
I can do this?
Develop games in your browser. Powerful, performant & highly capable.
I do not think it is possible unless user closes app through some internal method (like selecting "quit game").