How to detect Browser refresh when the user clicks on F5 or browser refresh button?

0
Hi All, Is there any way to detect the browser refresh? I need to call a Nanoflow whenever the user clicks the refresh button/F5.
asked
1 answers
3

yes you can find the key code using the javascript 

you can write document.addEventListener() method\

generally F5 key has 116 keyCode

answered