I can't get this to work with JavaScript added. Works in the preview, but not in the frontend. I'm guessing it's a Flarum security feature or due to the whole single page app set up it can't handle it. 🤷♂️ I just wanted to have a new year's countdown timer in a widget. I put all the code in this. And again, in the preview it worked. But then I go to the frontend and the timer doesn't countdown. Interesting.
I don't think it's this extension, I think it's just due to the way Flarum works.