I have added it to the header template and it did nothing.
the code below works for F5, do you know how to change it to include CTR key too?
Code:
<script type = "text/javascript">
window.onload = function () {
document.onkeydown = function (e) {
return (e.which || e.keyCode) != 116;
};
}
</script>
----
***edit found the solution, use this to disable ctrl key :
Code:
<script type = "text/javascript">
document.addEventListener("keydown", function (event) {
if (event.ctrlKey) {
event.preventDefault();
}
});
</script>
works in combination with the above F5 script