User:Sumsjunco/common.js

var searcqweahform = document.querySelector("#searchform > div > div > input");

window.document.addEventListener('keyup', function(event){   var keyName = event.key;

// As the user releases the Ctrl key, the key is no longer active, // so event.ctrlKey is false. if (keyName === '/') { searcqweahform.focus; }   if (keyName === 'Escape') { searcqweahform.blur; } }, false);