window.onclick = function(e) { console.log(e.srcElement); }