how to disable ctrl key using javascript

Solutions on MaxInterview for how to disable ctrl key using javascript by the best coders in the world

showing results for - "how to disable ctrl key using javascript"
Manuel
11 May 2016
1document.addEventListener("keydown", function (event) {
2    if (event.ctrlKey) {
3        event.preventDefault();
4    }   
5});