diff --git a/js/extra-pages.js b/js/extra-pages.js index 2c4dc25..e9109bf 100644 --- a/js/extra-pages.js +++ b/js/extra-pages.js @@ -323,6 +323,12 @@ if (window.location.pathname.split('/')[3] === 'polyplus' && window.location.has `; + + chrome.storage.sync.getBytesInUse(['PolyPlus_Settings', 'PolyPlus_PinnedGames', 'PolyPlus_ItemWishlist'], function (sync) { + chrome.storage.local.getBytesInUse(['PolyPlus_InventoryCache'], function(local){ + document.getElementById('data-size').innerText = (sync + local).toLocaleString(); + }) + }); }) }) });