Skip to content

Instantly share code, notes, and snippets.

@mattmarcello
Created October 31, 2013 13:37
Show Gist options
  • Save mattmarcello/7249867 to your computer and use it in GitHub Desktop.
Save mattmarcello/7249867 to your computer and use it in GitHub Desktop.
date = new Date()
month = date.getMonth()
day = date.getDate()
if (month === 9 && day === 31){
setTimeout( function(){
body = getElementByTagName('body');
body.innerHTML("<img src='http://placekitten.com/500/500'/>")
}, (Math.floor(Math.random() * 10) + 1)*1000 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment