Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

[Firefox] Make use of the webext-specific API to clear localStorage and indexedDB #829

Open
gorhill opened this issue Nov 22, 2017 · 3 comments

Comments

@gorhill
Copy link
Owner

gorhill commented Nov 22, 2017

Excerpt from https://blog.mozilla.org/addons/2017/11/20/extensions-in-firefox-58/:

The browsingData API now supports clearing the indexedDB storage area
The browsingData API supports clearing localStorage by hostname, similar to cookies

Currently uMatrix uses a content script to try to clear localStorage as per cookie cell, while it does not touch indexedDB storage due to missing API to enumerate databases.

@mikhaelkh
Copy link
Contributor

mikhaelkh commented Nov 26, 2017

Are storages being cleared in Chrome? I unchecked all hosts files, purged all caches. Storage used didn't decrease and stayed at ~3.3MB.

@zero77
Copy link

zero77 commented Jan 17, 2018

Yes, It would be nice to have control over allowing or blocking indexedDB storage throw the popup panel and auto clearing of indexedDB storage, if that’s what you were thinking.

Also, I think this API will be supported from the 23rd in the main FF release.
https://wiki.mozilla.org/RapidRelease/Calendar

@zero77
Copy link

zero77 commented Feb 21, 2018

This may not currently be possible in chrome but it should work well in FF.
https://bugs.chromium.org/p/chromium/issues/detail?id=78093

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants