Open TanviHacks opened 6 years ago
I see everything except Site Storage available here: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/browsingData/DataTypeSet
Service Workers is handled in issue #101 and PR #106.
Would be nice to get this into 1.4.0, but we don't have to.
According to the API Docs is clearing everything else besides cookies and localStorage by hostname not possible yet
hostnames Optional
Array of string. This property only applies to cookies and local storage items. Only remove cookies and local storage items which are associated with these hostnames.
Afaik that's an issue that most cleaners still face, e.g. https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/issues/171
Another problem might be that it's not possible to instruct browsingData.remove
to only clear for specific containers - so we would clear data in the Facebook Container in that case too.
We need a platform bug to make this happen. @jonathanKingston can you add the platform bug here?
The bug is: https://bugzilla.mozilla.org/show_bug.cgi?id=1353726 I should take a look to see how much work this involves tomorrow as this would solve many problems for container extensions.
In addition to cookies, can we clear all site data - localstorage, indexeddb.
Here is a list of site data I previously compiled. Not all areas may be relevant, or easy to clear. So just do what you can and document it here.
Cookies Cache Session Manager IndexedDB localStorage Site Storage (Persistent and Non-persistent) Service Worker storage