SyntaxFix
Write A Post
Hire A Developer
Questions
My solution to this problem is:
document.onkeypress = function (event) { event = (event || window.event); if (event.keyCode == 123) { return false; } }
With the magic number 123 which is the key F12.
123