sudo-rgorai / DarkSite

A chrome extension to embrace your Dark Side!
MIT License
11 stars 19 forks source link

Fix uninitialized cookies #38

Closed sudo-rgorai closed 3 years ago

sudo-rgorai commented 3 years ago

On first load, the extension fails to display time as can be seen below.

Kazam_screenshot_00068

However, on changing the clock format under settings panel, we can see the time. This is probably because of uninitialized cookies.

When the user submits their name, all cookies used by the extension should be initialized to a default value to avoid such unexpected behaviour.