I would like to know how to deactivate all the keys with the exception of the F5 since it serves to update.
This is the code, the bad thing is that all the keys are disabled including the F5.
document.onkeydown = function(e) {
if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 117)) {
}
return false;
};