Qual elemento é focado JavaScript Console
document.addEventListener('focusin', function() {
console.log('focused: ', document.activeElement)
}, true);
Vast Vole
document.addEventListener('focusin', function() {
console.log('focused: ', document.activeElement)
}, true);