IITC-CE / IITC-Button

Firefox/Chrome extensions that enables IITC features
GNU General Public License v3.0
16 stars 6 forks source link

Implemented a non-site-specific storage for GM functions #107

Closed modos189 closed 1 year ago

modos189 commented 1 year ago

Past implementations of storage for GM API (like GM_getValue, GM_setValue) used sessionStorage in page context. This prevented storing plugin data between sessions and different sites.

The new implementation uses persistent storage at browser.storage.local. When the plugins start up, data is copied using a bridge from browser.storage.local to the storage variable. Changes in storage through the bridge are duplicated in browser.storage.local

github-actions[bot] commented 1 year ago

Here are the build results https://github.com/IITC-CE/IITC-Button/suites/10667902640/artifacts/533416529 Artifacts will only be retained for 90 days.

github-actions[bot] commented 1 year ago

Here are the build results https://github.com/IITC-CE/IITC-Button/suites/10673342463/artifacts/533811355 Artifacts will only be retained for 90 days.

github-actions[bot] commented 1 year ago

Here are the build results https://github.com/IITC-CE/IITC-Button/suites/10673546200/artifacts/533825070 Artifacts will only be retained for 90 days.