ksiondag / browsing_costs

A gamified Chrome extension productivity tool.
0 stars 0 forks source link

Timers should work while chrome is off #2

Closed ksiondag closed 8 years ago

ksiondag commented 8 years ago

Currency gain and/or (less important) break timers should "work" while chrome is off.

Specifically, timers should be saved in local storage. If they haven't expired when chrome shuts down, then they'll be processed when chrome starts up. Any timers that would've been created will be created/processed.

This will help make the currency timer more fair (a night's sleep will use up the longest wait-time for currency).

ksiondag commented 8 years ago

Between chrome sync headaches and this project becoming considerably lower priority for me, I think it's more intelligent to make timers only run while chrome is active, and have the extension only use local storage (separate sessions of game per browser, regardless of whether or not user is same).