Prevent user from holding f5 for more than x seconds?
<p>Is there a way to bind a jQuery event to pop off after a visitor holds a button for more than, say, 3 seconds? In this case I'd like to do something after a user holds f5 for 3 seconds.</p>

<p>I've found a solution that prevents the refresh when user presses f5 here:</p>

<p><a href="http://stackoverflow.com/questions/2482059/disable-f5-and-browser-refresh-using-javascript">disable f5 and browser refresh using javascript</a></p>

<p>However, this isn't quite what I'm looking for as I'd like to allow my users to refresh pages but prevent them from placing a rock on the f5 button so to speak (it's an online game where you can do tasks by refreshing the page).</p>

<p>Is what I'm trying to do even possible?</p>

<p>EDIT: I am looking for a short-term, quick, client-side fix. The server side of things will be solved later on.</p>
