It's a very bad method to always keep the game running in the background. I would advise such developers to be punished.
Is it so difficult to make everything time-dependent? And each time the game starts, recalculate the progress according to the time that has passed.
I believe that in 4 months, some service or even an update could clear the local browser storage. You can duplicate the save to a file or some cloud service.