I can\'t seem to get window.onblur to work properly.
window.onblur = console.log(\'blur\');
When the listener is applied to the window, it
window.onblur = () => console.log( "blur" );