Is there any way to catch a page refresh and pause it for a certain time period using javascript, jquery or whatever?
This is necessary to prevent accidentally pressing the refresh key amid an important work which is one-time ,and needs to be processed and saved before the page gets refreshed.
In one of my previous questions posted in this forum, I had to face this issue, which is still unsolved, at a certain point during the discussion of the question. I think posting it as an individual question is quite worth it. The said question is here .Edit part of the question contains the issue.
Scripting language is php. Or should I use any other language to achieve the goal?