View original Gist on GitHub
Tags: #js
var s = document.body.style; for (var i in s) { s[i] = "url('foo')"; if(s[i]) { console.log(i); s[i] = '' } }