Ignore my 1st post and follow this iv got it working in Firefox IE and Chrome
Step 1) 1st Download this .JS i made.
http://sound4-ls.webs.com/disable.js
Save the file and upload it to your web server.
Step 2) Add the Html into the page with the Quiz
Code:
<script src="/disable.js" type="text/javascript"></script>
Make sure the path to the Disable.js is right.
Step 3) Enjoy your disable action.
Example of it working here :
http://sound4-ls.webs.com/disable.htm
May i also suggest opening the Quiz in a custom window that doesn't have a back button.
Let me know if it works and if you have any problems.
This is the .JS script you need to place it in a .JS file.
document.onkeydown=function(e) {
var event = window.event || e;
if (event.keyCode == 116) {
event.keyCode = 0;
alert("F5 has been disabled to prevent cheating");
return false;
}
}
If you cannot download it from my server try this download link
http://www.MegaShare.com/4366124