gorhill / httpswitchboard

Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
GNU General Public License v3.0
1.33k stars 83 forks source link

Replace FileSystem API with chrome.storage.local #379

Closed gorhill closed 10 years ago

gorhill commented 10 years ago

Because http://code.google.com/p/chromium/issues/detail?id=389879.

Apparently The QUOTA_BYTES "value will be ignored if the extension has the unlimitedStorage permission" (ref)

I can't tell whether Chromium 37 will break HTTPSB, uBlock, (Adblock Plus, etc). Nowhere can I find feedback about this from Chromium devs. Given that FileSystem API has been dropped as candidate technology for HTML5, I will assume the worst and try to find an alternative.

Not sure if chrome.storage.local will work, I have to write prototype code.

rusvnc commented 10 years ago

Please keep us posted. Thanks.

gorhill commented 10 years ago

chrome.storage.local does work, so I am converting the code. It's actually simpler, I wish I had done it this way the first time. The only complicated bit is to ensure users' data is properly transferred to the new storage.