gctGenerator/docs/april.js

8 lines
181 B
JavaScript
Raw Permalink Normal View History

2023-10-16 17:40:28 +09:00
window.addEventListener('DOMContentLoaded', () => {
const now = new Date();
if (now.getMonth() === 3 && now.getDate() === 1) {
document.body.classList.add('fool');
}
});