Created
September 1, 2011 14:36
-
-
Save Integralist/1186292 to your computer and use it in GitHub Desktop.
A script that displays any CSS properties that support URL as value /via @LeaVerou
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = document.body.style; | |
for (var i in s) { | |
s[i] = "url('foo')"; | |
if(s[i]) { | |
console.log(i); | |
s[i] = '' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment