Skip to content

Instantly share code, notes, and snippets.

@nbriz
Last active March 15, 2023 18:05
Show Gist options
  • Save nbriz/9772196 to your computer and use it in GitHub Desktop.
Save nbriz/9772196 to your computer and use it in GitHub Desktop.
just for fun :)
// PASTE THIS IN YOUR CONSOLE ( worx best in chrome )
// `~._.~`~._.~`~._.~`~._.~`~._.~`~._.~`~._.~`~._.~
// chrome console: OPTION + COMMAND + J
// firefox console: OPTION + COMMAND + K
// `~._.~`~._.~`~._.~`~._.~`~._.~`~._.~`~._.~`~._.~
// WARNING FLASHING LIGHTS!!!!
setInterval(function(){
d=document.getElementsByTagName('div');
for(i=0; i<d.length; i++) {
d[i].style.background='#'+Math.floor(Math.random()*16777215).toString(16);
}
},1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment