Automatic localstorage cleanup doesn't work although the option in settings is checked.
There are no errors in notifications or in cleanup log.
I don't use containers tabs and don't have support for containers enabled.
Manually cleaning localstorage through toolbar icon and Clean menu works as intended. Only automatic cleanup doesn't.
I in particular noticed it on site filmweb.pl. Visit any random movie pages, e.g.:
https://www.filmweb.pl/Terminator
https://www.filmweb.pl/Predator
https://www.filmweb.pl/film/Matrix-1999-628
Now, right above the very bottom of the site you should see those movies in "ostatnio odwiedzone" (recently visited) section. Close tabs and check back if localstorage was cleared.
https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/wiki/FAQ:-Common-Questions-and-Issues
Check the FAQ: it seems like not all types of cookies can be deleted by CAD. (
"What is the state of the WebExtension API to clean X data?") Check out the type of the cookies. (I don't know how to do that.)
I had the issue with gaming websites for the first time now.
Your settings
@meelten Hmmm...I can't seem to duplicate the results after trying to visit that site through the three links. (Mind you I also temporarily trusted the domain through the NoScript extension as well as temporarily disabled adblock for that site too). By results, I mean that I don't even see that named section you are referring to at the bottom of the page. Unfortunately as it is not displayed in English, I cannot help as much as I would be able to.
As a final note, the site may be storing details outside of localstorage and cookies (e.g. Session Storage/IndexDB, which we cannot clear by host due to API limitations).
However, if you were to
and it is still populated afterwards, then it would then need to be looked into further. Note that the automatic cleaning runs the same function as the manual one, so logically it would have cleaned it up already.
I wanted to confirm that some websites were also not automatically delete-able via CAD in autoclean mode. I'm using Chromium 75, also happens in 76.
Websites that were using localstorage in my case:
(...) there are some others, of course, but the appdb.winehq.org website is a good testing start, I would guess. Above domains were not part of any rules/expressions, so they should've been all deleted.
When looking at the utils code on the appdb website, they do nothing more than just setting keys via localStorage[some_random_id] = 'true' and that's pretty much their API usage.
On FireFox I had dozens of local storage, and hundreds of third and first party cookies left behind both by CAD & SDC; CookieBro got rid of all of that without any issues.
@cookiengineer Chrome localstorage was previously unavailable, thus no localstorage removal was done for chromium browsers. Tracking via #523.
@rugabunda could you elaborate on which sites I could test and figure out the reason why it is not removing said items? I would also need your CAD and firefox cookie settings as well.
@kennethtran93 I am currently experiencing this problem with Firefox 69.0.1 (64-bit) + CAD 3.0.2 on this website at least: https://www.indiehackers.com/
(the firebase localstorage key is never deleted)
@kennethtran93 Go here for a quick and easy test: https://jsbin.com/nujewoxojo/edit?output
Reloading the page should increment the counter. Clearing local storage manually with CAD resets the counter, but waiting for the autodelete notification does not.
I'm running FF 71.0b7 (64-bit) and CAD 3.0.2.
Just an FYI, I'm running Firefox version 70.0.1 and it appears to work fine for me. It automatically clears the 3 cookies (session, session.sig, last) that are set by the page after I close the tab for https://jsbin.com/nujewoxojo/edit?output. If I go back to the page the counter has reset and indicates "1" again.
I can confirm this on my browser. Cookies are deleted but local storage is not. In fact, to actually clear local storage, I have to do so manually. Since that should do the same thing as automatic clearing, it seems like the automatic part is what is failing. Notably, this happens on Google. In addition to direct inspection, when I look in the logs there is no mention of local storage being cleaned, only cookies. I've tried both letting it do its thing on its own as well as creating greylists with both cookies and local storage unchecked. Doesn't matter. It isn't a huge deal for me since a couple of clicks on my way out does the cleaning, but I'm curious why that would happen.
Small update for this issue:
window.localstorage.clear(). The auto cleaning relies on browsingData.removeLocalStorage({hostnames: hostname}) function provided by the WebExtension API.A bug is found and is in progress of getting fixed. There were multiple duplicate issues so there was some additional info gathered that helped me debug this.
Awesome! :+1:
Most helpful comment
@cookiengineer Chrome localstorage was previously unavailable, thus no localstorage removal was done for chromium browsers. Tracking via #523.
@rugabunda could you elaborate on which sites I could test and figure out the reason why it is not removing said items? I would also need your CAD and firefox cookie settings as well.