Closed r2dev2 closed 1 year ago
Add custom mechanism to track bytes usage of chrome storage because firefox hasn't implemented getBytesUsed on chrome.storage.local
chrome.storage.local
We can add a hook for exceeding storage quota (that could be user-controlled) later either by:
$: if ($bytesUsed > quota) { ...
so such a hook is not needed in this pr.
will review soon-ish, kinda busy atm
Add custom mechanism to track bytes usage of chrome storage because firefox hasn't implemented getBytesUsed on
chrome.storage.local
We can add a hook for exceeding storage quota (that could be user-controlled) later either by:
$: if ($bytesUsed > quota) { ...
so such a hook is not needed in this pr.