Created
July 26, 2013 15:08
-
-
Save adam-lynch/6089644 to your computer and use it in GitHub Desktop.
Rapping Wrappers. Paste this in your browser's console
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 e=document.querySelectorAll("*[id*=wrapper], *[class*=wrapper]"),r=["http://www.richincomeways.com/wp-content/uploads/2013/06/tupac.jpg","http://www.2freshbeats.com/wp-content/uploads/2012/05/snoop.jpg","http://cdn.hiphopwired.com/wp-content/uploads/2012/07/10428_The-Notorious-B_I_G_1.jpg"],rl=r.length;for(var i=0;i<e.length;i++){e[i].style.background="transparent url("+r[i%rl]+") center center repeat"};console.log( e.length); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment