var all = document.querySelectorAll('*'); for(var i = 0; i < all.length; i++) {if(all[i].style.zIndex > 0) {console.log(all[i].style.zIndex); console.log(all[i]);}}
Points regarding computing that I always forget - so I write them here to find them easily and maybe other could benefit too.