I really canβt find the answer to my question, if it is possible to define jquery, if the user clicks the Refresh / Reboot button in a modern browser?
I found...
window.onbeforeunload = function(e) {
... but the problem along the way is that it always fires when the page loads. But if I use the forward button and then the back button, it should not do this, only when the update button is clicked. Is it possible? And is there a solution for all modern browsers?
Edit: thanks for the link, I will try the cookie example.
source share