Created
January 21, 2022 12:49
-
-
Save CaledoniaProject/f1c19ca4dece8bb2cd571a4d7766af1a to your computer and use it in GitHub Desktop.
Disable CTRL+E/K shortcut key combination on github.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(() => { | |
document.querySelectorAll("textarea").forEach(e => { | |
e.addEventListener("keydown", ev => { | |
if (ev.ctrlKey) { | |
ev.stopPropagation(); | |
} | |
}) | |
}) | |
}, 2000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment