First, please note that the “timers.html” page you linked is no longer being maintained, and has not been updated since Sept 28, 2022. Since then, all TiddlyTools add-ons (including all the time-related functions) are being provided directly on the https://TiddlyTools.com main page. Thus, for the “Countdown Timer”, you should go to TiddlyTools/Time/CountDown and SampleCountdown.
Now, on to your specific issue:
The CountdownTimer uses a javascript “setInterval()” interrupt-driven function that “ticks” once per second to update the time remaining (see TiddlyTools/Time/Ticker).
I tested your issue on my system (using Chrome), and the timer continues to count down even when the browser window is minimized, so this seems like it may be a Firefox-related issue, perhaps due to Firefox’s “Tab Unloading” feature that automatically “unloads” tabs that you are not actively using (e.g., minimized windows).
See Unload inactive tabs to save system memory in Firefox | Firefox Help for technical details, including instructions for how to disable the Tab Unloading feature.
It might be possible for me to re-write the CountdownTimer code to use a different method for computing the time remaining by storing a “timestamp” when the timer is started, and then subtracting the current timestamp when the “tick” processing is triggered. In this way, while the timer would still “freeze” when the Firefox window is minimized, it would immediately update to the correct time remaining as soon as that window is re-activated.
Unfortunately, I’m currently in the middle of some other project work, so I can’t get to this right away, but I will put it on my list. In the mean time, try experimenting with the “disable Tab Unloading” configuration to see if that helps. If it does, it will at least confirm my hypothesis about what is occurring.
-e