An overall silly site I made. It was built out of anger when I started to smell Pumpkin in the middle of summer..
What makes the magic happen (Code below). Just a simple script that changes the content of the site from 9-22 to 11-01.
<body> <div id="answer"></div> <script> var answer = "Fuck it, Its 2020, Go Nuts."; var today = new Date(); var nowYouCanHaveIt = new Date("9/22/" + today.getFullYear()); var nowItsTooLate = new Date("11/01/" + today.getFullYear()); var time = today.getHours() if(nowYouCanHaveIt < today && nowItsTooLate > today) { answer = "YES"; after_hours = ", beer included!!" if(time > 10 && time < 17) { answer = answer.concat(after_hours) } document.body.style.background = '#d15f09'; } var elem = document.getElementById('answer'); elem.innerHTML = answer; </script>
http://canihavepumpkinspiceyet.com/
https://github.com/jasonkuehl/canihavepumpkinspiceyet