This commit is contained in:
cmdr2 2024-12-13 15:55:19 +05:30
parent b3136e5738
commit fe2443ec0c

View File

@ -1,7 +1,9 @@
// temp christmas hack, courtesy: https://pajasevi.github.io/CSSnowflakes/
// christmas hack, courtesy: https://pajasevi.github.io/CSSnowflakes/
;(function(){
"use strict";
function makeItSnow() {
const styleSheet = document.createElement("style")
styleSheet.textContent = `
/* customizable snowflake styling */
@ -69,4 +71,10 @@
})
`
document.body.appendChild(script)
}
let date = new Date()
if (date.getMonth() === 11 && date.getDate() >= 12) {
makeItSnow()
}
})()