This is the exact js code to achieve that new year fireworks
⬇️
if (
currentDate within NEW_YEAR_WINDOW &&
tweet.text.toLowerCase().includes("happy new year") &&
userAction === "like" &&
featureFlag("seasonal_celebration_fx") === true
) {
triggerFireworksAnimation();
}
So I just saw this now:
If you tweet “happy new year”
And someone likes that comment,
The like button will erupt in fireworks 🔥
That’s really so cool.