atzkey / 24karrot

24Karrot. PURE GLOD.
GNU General Public License v3.0
3 stars 0 forks source link

Week doesn't change unless the browser is restarted #9

Open atzkey opened 3 years ago

atzkey commented 3 years ago

Root cause: background script goes to sleep.

Possible fix: utilise alarms.create() API call instead of the timer embedded into the background page.

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/alarms/create.

rodiali1 commented 3 years ago

Week doesn't change for me even with restarting the browser, closing all the tab,s and restarting the laptop.

Browser: Google Chrome OS: Windows

atzkey commented 3 years ago

@Rodiloo, yup, turned out browser restart doesn't necessarily help. I've described the temporary solution in the last message in the #24karrot channel on UoL Slack. Fix will be submitted to Chrome store this weekend.