proginosko / LeechBlockNG-chrome

LeechBlock NG (Next Generation) for Chrome is a simple productivity tool designed to block those time-wasting sites that can suck the life out of your working day. All you need to do is specify which sites to block and when to block them.
https://www.proginosko.com/leechblock/
Mozilla Public License 2.0
72 stars 14 forks source link

cannot export options to sync storage: QUOTA_BYTES_PER_ITEM quota exceeded #31

Closed kamakshidasan closed 2 years ago

kamakshidasan commented 3 years ago

I have a really long list of urls that I block, so when I tried to sync to storage, I got the following message.

error-message

I checked the error messages, and I got the below message: "cannot export options to sync storage: QUOTA_BYTES_PER_ITEM quota exceeded"

error-message2

So I google around and I found this link: https://stackoverflow.com/questions/33015723/unchecked-runtime-lasterror-while-running-storage-set-quota-bytes-per-item-quot

From the looks of it, I think all that has to be done is add "unlimitedStorage" to the manifest.json file.

kamakshidasan commented 3 years ago

Pull Request: https://github.com/proginosko/LeechBlockNG-chrome/pull/32

proginosko commented 2 years ago

Thanks for this report. Did you test this solution?

Roughly how long is your list of URLs? Can it be simplified with wildcards?

kamakshidasan commented 2 years ago

I have about 4300 URLs: and all distinct: https://pastebin.com/vYc3KVwc

proginosko commented 2 years ago

I see what you mean! At what point would it be more efficient to block everything and just use a whitelist? 😃