LogFocus - handy Bookmarklet for Keyboard Accessibility testing
read all info about it and install the bookmarklet in the blogpost in english or in german
compiled into an actual bookmarklet using the very handy: bookmarklet builder
For modern Browsers you can simply use the following snippet instead:
window.addEventListener('focus',function(e){
window.console.info('focus',e.target);
},true);