norbit8 / MoodleBooster

Firefox & Chrome addon that boosts moodle's UI/UX.
MIT License
1 stars 13 forks source link

Save extension settings on localstorage of the extension #156

Closed idan2468 closed 3 years ago

idan2468 commented 3 years ago

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.