• tabular@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    This add-on needs to:

    • Store unlimited amount of client-side data
    • Access your data for sites in the googlevideo.com domain
    • Access your data for sites in the youtube.com domain
    • Access your data for sponsor.ajay.app
    • Access your data for dearrow-thumb.ajay.app
    • Access your data for www.youtube-nocookie.com

    This add-on may also ask to: **Access your data for all websites

    Is there a better option than for it to need unlimited amount of client-side data? Also, why “Access your data for all websites”?-

    • 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?