sergiokas / Extensity

Quickly enable/disable Google Chrome extensions
http://sergiokas.github.com/Extensity
Other
390 stars 83 forks source link

Big bug when you have a lot of extension: Profiles are not saved #43

Closed mikhoul closed 5 years ago

mikhoul commented 5 years ago

I was trying to debug a conflict this morning between extension so I wanted to save my "profile" before disabling some extensions and find the problem.

So when I was saving my new profile nothing was saved when I was reloading chrome-extension://jjmflmamggggndanpgfnpelongoepncg/profiles.html.

I opened the console and see that error message Unchecked runtime.lastError while running storage.set: QUOTA_BYTES_PER_ITEM quota exceeded

image

Note: I have 102 extension at this moment.

A workaround would be to have a fallback or an option to use chrome.storage.local so the limitation would not be there.

I understand that using chrome.storage.local I would lost the sync feature but I don't mind personally so having an option to choose the between "unlimited" storage for heavy extension users like me or using the current storage for light/moderate users that want to be able to sync would be the better solution IMO.

Regards :octocat:

mikhoul commented 5 years ago

I've experimented and found that with my 102 extensions I can save a maximum of only 2 profiles before hitting the quota limit.

sergiokas commented 5 years ago

Fixed in v1.10.0, if the number of extensions/profiles exceeds Google's quota, they'll be saved locally instead.