Save extension settings on localstorage of the extension
I've noticed a bug while using the extension that each few days Moodle cleans it's localstorage and with it our extension settings.
So I've moved all the storage save and get logic to the popup.js (background script) so every content script sends a message when it wants to get/set the storage.
Save extension settings on localstorage of the extension
I've noticed a bug while using the extension that each few days Moodle cleans it's localstorage and with it our extension settings. So I've moved all the storage save and get logic to the popup.js (background script) so every content script sends a message when it wants to get/set the storage.