Open jajoosam opened 6 years ago
Sure you could do it nature JS. But using jquery you could simply use something like
$(document).on("keypress", function(e) {
if ( e.ctrlKey && ( e.which === 46 ) ) {
console.log( "You pressed CTRL + Del" );
}
});
Annoying bit would be allowing people to change it. and/or turning on/off the ctrl+c
Should be easy to implement - could try with native chrome, or with mousetrap.js