• Kissaki@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Store unlimited amount of client-side data

    That’s the Unlimited Storage permission. Without it, they’d be using storage.local with the default limits:

    The browser may restrict the amount of data that an extension can store in the local storage area. For example:

    • In Chrome, an extension is limited to storing 5MB of data using this API unless it has the “unlimitedStorage” permission.
    • In Firefox, the amount of data an extension can store is subjected to the same storage limits as applied to IndexedDB databases. Extensions that intend to store more data than this limit need the “unlimitedStorage” permission. However, extensions with the “unlimitedStorage” permission may get a quota exceeded error when the disk space used by storage exceeds the global limit.

    I assume they’re expecting to exceed the 5 MB because of caching thumbnail data, and possibly multiple thumbnails per video if you’re contributing thumbnail and title data.

    Either way, if you see “unlimited storage” permission as a request for “more than 5 MB”, it doesn’t sound so bad, does it?