elementdavv / internet_archive_downloader

A chrome/firefox extension that download books from Internet Archive(archive.org) and HathiTrust Digital Library (hathitrust.org)
GNU Affero General Public License v3.0
627 stars 43 forks source link

Excessive permissions #41

Closed daver1691 closed 8 months ago

daver1691 commented 8 months ago

When installing from addons.mozilla.org, it asks to "access your data for all web sites". This is normally a huge red flag. Can this be restricted to just the sites that it works with?

elementdavv commented 8 months ago

Sure. But nfortunately Internet Archive hosts their books on URLs something like iaxxxxxx.us.archive.org. Here xxxxxx is random numbers. I have tried to use https://\*.us.archive.org/* as server pattern and it seems not work. CORS does not support pattern match.

elementdavv commented 8 months ago

I have limit the extension to minimum permissions request for the download job. Google sensors strictly.