Is it possible to use javascript to handle the event of refreshing page? What i want is get notice if user do one of these behaviours:
- refresh page by pressing F5
- close tab or browser
- enter a new url then press enter on browser
to display a warning message?
Thanks in advance!