2015/05/20 In JavaScript, document.activeElement gives you the active element. How did I never know this?