Tuesday 6 September 2016

Disable f5 and browser refresh using javascript | Inside Window or Iframe

Disable f5 and browser refresh using javascript | Inside Window or Iframe

Javascript code:

function disableF5(e) { if ((e.which || e.keyCode) == 116) e.preventDefault(); };
$(document).on("keydown", disableF5);


4 comments:

  1. Norton Internet Security Full Crack offers you with the new and full antivirus wellbeing through remarkable acknowledgment cost. Norton Internet Security Crack

    ReplyDelete
  2. Convincing explanations for Sister's Day god inclines toward his teenagers inside his own intriguing way, and the most splendid gift he has introduced on Maine is you, my dear sister. Sister Day 2022

    ReplyDelete